{ "type": "class", | |
"qname": "spark.primitives.Rect", | |
"baseClassname": "mx.core.UIComponent" | |
, | |
"description": "The Rect class is a filled graphic element that draws a rectangle. The corners of the rectangle can be rounded. The <code>drawElement()</code> method calls the <code>Graphics.drawRect()</code> and <code>Graphics.drawRoundRect()</code> methods. <p><b>Note: </b>By default, the stroke of the border is rounded. If you do not want rounded corners, set the <code>joints</code> property of the stroke to <code>JointStyle.MITER</code>. </p>", | |
"tags": [ | |
{ "tagName": "includeExample", | |
"values": ["examples/RectExample.mxml"]}, | |
{ "tagName": "see", | |
"values": ["flash.display.Graphics"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "method", | |
"qname": "spark.primitives.Rect", | |
"namespace": "", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Constructor.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "", | |
"params": []} | |
, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "bottomLeftRadiusX", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The x radius of the bottom left corner of the rectangle.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["NaN"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "bottomLeftRadiusY", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The y radius of the bottom left corner of the rectangle.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["NaN"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "bottomRightRadiusX", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The x radius of the bottom right corner of the rectangle.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["NaN"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "radiusX", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The default corner radius to use for the x axis on all corners. The <code>topLeftRadiusX</code>, <code>topRightRadiusX</code>, <code>bottomLeftRadiusX</code>, and <code>bottomRightRadiusX</code> properties take precedence over this property.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "radiusY", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The default corner radius to use for the y axis on all corners. The <code>topLeftRadiusY</code>, <code>topRightRadiusY</code>, <code>bottomLeftRadiusY</code>, and <code>bottomRightRadiusY</code> properties take precedence over this property.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "topLeftRadiusX", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The x radius of the top left corner of the rectangle.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["NaN"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "topRightRadiusX", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The x radius of the top right corner of the rectangle.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["NaN"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "mx.graphics.IStroke", | |
"qname": "stroke", | |
"namespace": "public", | |
"bindable": ["propertyChange"], | |
"details": [], | |
"deprecated": {}, | |
"description": "The stroke used by this element.", | |
"tags": [ | |
{ "tagName": "royalesuppresspublicvarwarning", | |
"values": []}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "mx.graphics.IFill", | |
"qname": "fill", | |
"namespace": "public", | |
"bindable": ["propertyChange"], | |
"details": [], | |
"deprecated": {}, | |
"description": "The object that defines the properties of the fill. If not defined, the object is drawn without a fill.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["null"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "method", | |
"qname": "addedToParent", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["override"], | |
"deprecated": {}, | |
"return": "void", | |
"params": []} | |
, | |
{ "type": "method", | |
"qname": "setActualSize", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["override"], | |
"deprecated": {}, | |
"return": "void", | |
"params": [{ "name": "w", "type": "Number"}, | |
{ "name": "h", "type": "Number"}]} | |
, | |
{ "type": "method", | |
"qname": "updateDisplayList", | |
"namespace": "protected", | |
"bindable": [], | |
"details": ["override"], | |
"deprecated": {}, | |
"return": "void", | |
"params": [{ "name": "unscaledWidth", "type": "Number"}, | |
{ "name": "unscaledHeight", "type": "Number"}]} | |
] | |
} |