blob: 00106effb62eb2d69359a1c2c2ef056ada47563c [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.display.Graphics",
"baseClassname": ""
,
"description": "",
"tags": [
{ "tagName": "royalesuppressexport",
"values": []} ],
"members": [
{ "type": "method",
"qname": "getInstanceFor",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"return": "org.apache.royale.display.Graphics",
"params": [{ "name": "target", "type": "org.apache.royale.display.IGraphicsTarget"}]}
,
{ "type": "method",
"qname": "getReflectionMap",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "This provides explicit support for reflection if needed. Otherwise this class can be assumed to be unreflectable by normal means (across targets)",
"tags": [
{ "tagName": "param",
"values": ["instance - the instance of the Graphics class to be reflected against"]},
{ "tagName": "return",
"values": ["an object that is reflectable via string method names which map to runtime method references"]} ],
"return": "Object",
"params": [{ "name": "instance", "type": "org.apache.royale.display.Graphics"}]}
,
{ "type": "method",
"qname": "org.apache.royale.display.Graphics",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"return": "",
"params": [{ "name": "target", "type": "org.apache.royale.display.IGraphicsTarget"}]}
,
{ "type": "method",
"qname": "clear",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["HTMLElement"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "spawnStroke",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "support for linestyle changes that occur 'during' a path also supports special cases where filters are used to support certain effects in svg",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["SVGPathElement"]} ],
"return": "SVGPathElement",
"params": [{ "name": "fromPaint", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "makeBitmapPaint",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["SVGPatternElement", "SVGUseElement"]} ],
"return": "SVGPatternElement",
"params": [{ "name": "bitmapData", "type": "org.apache.royale.display.BitmapData"},
{ "name": "smooth", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "makeGradient",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["SVGGradientElement"]} ],
"return": "SVGGradientElement",
"params": [{ "name": "elementType", "type": "String"}]}
,
{ "type": "method",
"qname": "makeGradientStop",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["SVGStopElement"]} ],
"return": "SVGStopElement",
"params": []}
,
{ "type": "method",
"qname": "getLinearRGBfilter",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This is used to allow emulation of 'linearRGB' interpolationMethod in gradients",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["SVGFilterElement", "SVGElement"]} ],
"return": "String",
"params": []}
,
{ "type": "method",
"qname": "beginFill",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "color", "type": "uint"},
{ "name": "alpha", "type": "Number"}]}
,
{ "type": "method",
"qname": "endFill",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "beginGradientFill",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "type", "type": "String"},
{ "name": "colors", "type": "Array"},
{ "name": "alphas", "type": "Array"},
{ "name": "ratios", "type": "Array"},
{ "name": "matrix", "type": "org.apache.royale.geom.Matrix"},
{ "name": "spreadMethod", "type": "String"},
{ "name": "interpolationMethod", "type": "String"},
{ "name": "focalPointRatio", "type": "Number"}]}
,
{ "type": "method",
"qname": "beginBitmapFill",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "bitmap", "type": "org.apache.royale.display.BitmapData"},
{ "name": "matrix", "type": "org.apache.royale.geom.Matrix"},
{ "name": "repeat", "type": "Boolean"},
{ "name": "smooth", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "lineBitmapStyle",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "bitmap", "type": "org.apache.royale.display.BitmapData"},
{ "name": "matrix", "type": "org.apache.royale.geom.Matrix"},
{ "name": "repeat", "type": "Boolean"},
{ "name": "smooth", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "lineGradientStyle",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "type", "type": "String"},
{ "name": "colors", "type": "Array"},
{ "name": "alphas", "type": "Array"},
{ "name": "ratios", "type": "Array"},
{ "name": "matrix", "type": "org.apache.royale.geom.Matrix"},
{ "name": "spreadMethod", "type": "String"},
{ "name": "interpolationMethod", "type": "String"},
{ "name": "focalPointRatio", "type": "Number"}]}
,
{ "type": "method",
"qname": "lineStyle",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "thickness", "type": "Number"},
{ "name": "color", "type": "uint"},
{ "name": "alpha", "type": "Number"},
{ "name": "pixelHinting", "type": "Boolean"},
{ "name": "scaleMode", "type": "String"},
{ "name": "caps", "type": "String"},
{ "name": "joints", "type": "String"},
{ "name": "miterLimit", "type": "Number"}]}
,
{ "type": "method",
"qname": "moveTo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"}]}
,
{ "type": "method",
"qname": "lineTo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"}]}
,
{ "type": "method",
"qname": "curveTo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "controlX", "type": "Number"},
{ "name": "controlY", "type": "Number"},
{ "name": "anchorX", "type": "Number"},
{ "name": "anchorY", "type": "Number"}]}
,
{ "type": "method",
"qname": "cubicCurveTo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "controlX1", "type": "Number"},
{ "name": "controlY1", "type": "Number"},
{ "name": "controlX2", "type": "Number"},
{ "name": "controlY2", "type": "Number"},
{ "name": "anchorX", "type": "Number"},
{ "name": "anchorY", "type": "Number"}]}
,
{ "type": "method",
"qname": "drawEllipse",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "width", "type": "Number"},
{ "name": "height", "type": "Number"}]}
,
{ "type": "method",
"qname": "drawRoundRect",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "width", "type": "Number"},
{ "name": "height", "type": "Number"},
{ "name": "ellipseWidth", "type": "Number"},
{ "name": "ellipseHeight", "type": "Number"}]}
,
{ "type": "method",
"qname": "drawRoundRectComplex",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "width", "type": "Number"},
{ "name": "height", "type": "Number"},
{ "name": "topLeftRadius", "type": "Number"},
{ "name": "topRightRadius", "type": "Number"},
{ "name": "bottomLeftRadius", "type": "Number"},
{ "name": "bottomRightRadius", "type": "Number"}]}
,
{ "type": "method",
"qname": "drawRect",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "width", "type": "Number"},
{ "name": "height", "type": "Number"}]}
,
{ "type": "method",
"qname": "drawCircle",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "radius", "type": "Number"}]}
]
}