blob: bcd0877864a09d23d60afdab2c7dee3b332cd798 [file] [log] [blame]
{ "type": "class",
"qname": "spark.primitives.RectangularDropShadow",
"baseClassname": "mx.core.UIComponent"
,
"description": "<p>This class optimizes drop shadows for the common case. If you are applying a drop shadow to a rectangularly-shaped object whose edges fall on pixel boundaries, then this class should be used instead of using a DropShadowFilter directly.</p> <p>This class accepts the first four parameters that are passed to DropShadowFilter: <code>alpha</code>, <code>angle</code>, <code>color</code>, and <code>distance</code>. In addition, this class accepts the corner radii for each of the four corners of the rectangularly-shaped object that is casting a shadow.</p> <p>Once those 8 values have been set, this class pre-computes the drop shadow in an offscreen Bitmap. When the <code>drawShadow()</code> method is called, pieces of the precomputed drop shadow are copied onto the passed-in Graphics object.</p>",
"tags": [
{ "tagName": "includeExample",
"values": ["examples/RectangularDropShadowExample.mxml"]},
{ "tagName": "see",
"values": ["spark.filters.DropShadowFilter", "flash.display.DisplayObject"]},
{ "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.RectangularDropShadow",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.4"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "accessor",
"access": "read-write",
"return": "Number",
"qname": "alpha",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "copy",
"values": ["spark.filters.DropShadowFilter#alpha"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.4"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Number",
"qname": "angle",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "copy",
"values": ["spark.filters.DropShadowFilter#angle"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.4"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Number",
"qname": "distance",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "copy",
"values": ["flash.filters.DropShadowFilter#distance"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.4"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Number",
"qname": "tlRadius",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The corner radius of the top left corner of the rounded rectangle that is casting the shadow. May be zero for non-rounded rectangles.",
"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": "trRadius",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The corner radius of the top right corner of the rounded rectangle that is casting the shadow. May be zero for non-rounded rectangles.",
"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": "blRadius",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The corner radius of the bottom left corner of the rounded rectangle that is casting the shadow. May be zero for non-rounded rectangles.",
"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": "brRadius",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The corner radius of the bottom right corner of the rounded rectangle that is casting the shadow. May be zero for non-rounded rectangles.",
"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": "blurX",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The amount of horizontal blur.",
"tags": [
{ "tagName": "default",
"values": ["4"]},
{ "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": "blurY",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The amount of vertical blur.",
"tags": [
{ "tagName": "default",
"values": ["4"]},
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.4"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}