blob: a547cbef647a9d570c32be975cbfd30760bf9bff [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.display.GraphicsStroke",
"baseClassname": ""
,
"description": "",
"tags": [
{ "tagName": "royalesuppresspublicvarwarning",
"values": []},
{ "tagName": "royalesuppressexport",
"values": []} ],
"members": [
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "caps",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Specifies the type of caps at the end of lines. Valid values are: CapsStyle.NONE, CapsStyle.ROUND, and CapsStyle.SQUARE. If a value is not indicated, Flash uses round caps."},
{ "type": "field",
"qname": "fill",
"return": "org.apache.royale.display.IGraphicsFill",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Specifies the instance containing data for filling a stroke. An IGraphicsFill instance can represent a series of fill commands."},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "joints",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Specifies the type of joint appearance used at angles. Valid values are: JointStyle.BEVEL, JointStyle.MITER, and JointStyle.ROUND. If a value is not indicated, Flash uses round joints."},
{ "type": "field",
"qname": "miterLimit",
"return": "Number",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Indicates the limit at which a miter is cut off. Valid values range from 1 to 255 (and values outside that range are rounded to 1 or 255). This value is only used if the jointStyle is set to "miter". The miterLimit value represents the length that a miter can extend beyond the point at which the lines meet to form a joint. The value expresses a factor of the line thickness. For example, with a miterLimit factor of 2.5 and a thickness of 10 pixels, the miter is cut off at 25 pixels."},
{ "type": "field",
"qname": "pixelHinting",
"return": "Boolean",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Specifies whether to hint strokes to full pixels. This affects both the position of anchors of a curve and the line stroke size itself. With pixelHinting set to true, Flash Player hints line widths to full pixel widths. With pixelHinting set to false, disjoints can appear for curves and straight lines. For example, the following illustrations show how Flash Player renders two rounded rectangles that are identical, except that the pixelHinting parameter used in the lineStyle() method is set differently (the images are scaled by 200%, to emphasize the difference):"},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "scaleMode",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "field",
"qname": "thickness",
"return": "Number",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "method",
"qname": "org.apache.royale.display.GraphicsStroke",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"return": "",
"params": [{ "name": "thickness", "type": "Number"},
{ "name": "pixelHinting", "type": "Boolean"},
{ "name": "scaleMode", "type": "String"},
{ "name": "caps", "type": "String"},
{ "name": "joints", "type": "String"},
{ "name": "miterLimit", "type": "Number"},
{ "name": "fill", "type": "org.apache.royale.display.IGraphicsFill"}]}
,
{ "type": "method",
"qname": "apply",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "SVGPathElement",
"params": [{ "name": "graphics", "type": "org.apache.royale.display.Graphics"},
{ "name": "element", "type": "SVGPathElement"}]}
]
}