Frames 

 No Frames

Previous Element
Desc

Next Element
EArc


DropShadow

Defines a single drop shadow filter on the display object.

Attributes

blurX This defines the extent of the blur effect of the filter in the X-axis. A value of zero disables blurring and a value of 100 is the maximum blur value permitted.
From Value0
To Value100
Default Value5
blurY This defines the extent of the blur effect of the filter in the Y-axis. A value of zero disables blurring and a value of 100 is the maximum blur value permitted.
From Value0
To Value100
Default Value5
strength This defines the darkness of the filter. A value of zero disables the filter and a value of 1000 is the maximum strength value permitted.
From Value0
To Value1000
Default Value100
quality This defines the rendering quality of the filter. The higher the quality, the greater the processing power required to render the filter.
Values
low
This is the default lowest quality of the filter and is best for optimal playback performance
medium
This is the medium quality level
high
This is the highest quality level and renders the optimal blur
Default Valuelow
color The color of the drop shadow specified as an RGB/RGBA tuple, a hex string or a color name. The first number of the tuple represents the red intensity, the second green, and the third blue. A minimum value of 0 for each color results in black and a max value of 255 for each color results in white. For RGBA the first three attributes are the same as above and the fourth is the degree of opacity of the color with 0 being totally transparent and 255 totally opaque. Alternatively the color can be specified as in SVG either in hexadecimal with a '#' leading character or by name using the color names defined in the SVG specification. Since these do not specify opacity, an additional opacity attribute can be defined.
Value Template rgb(Color, Color, Color)
Value Template rgba(Color, Color, Color, Color)
From Value0
To Value255
Value Template#ColorColorColor
From Value00
To Valueff
Value Range Any SVG color name supported in the SVG1.1 specification.
Default Valueblack
angle This defines the angle of the filter. Angles are expressed in degrees and range from 0 to 360. Filter effects rotate in a clockwise direction as the value increases.
From Value0
To Value360
Default Value45
distance This defines the distance of the filter effect from the object. Distances are expressed in pixels and range from -32 to + 32.
From Value-32
To Value32
Default Value5
knockout This boolean attributes defines whether the filtered object is visible in the output. When true, both the filtered object, and any underlying filter effects are not rendered.
Values
false
The source object is displayed on the stage
true
The source object and any underlying filter effect is hidden
Default Valuefalse
hideObject This boolean attributes defines whether the filtered object is visible in the output. When true, the filtered object is not rendered but the underlying filter effects are still rendered.
Values
false
The source object is displayed on the stage
true
The source object is hidden but underlying filter effects are visible
Default Valuefalse
inner This boolean attributes defines whether the filter effect is applied tinside the boundaries of the shape or outside the boundaries of the shape
Values
false
The filter is rendered outside the boundaries of the shape
true
The filter is rendered inside the boundaries of the shape
Default Valuefalse

Parent Elements

Filters

Examples

None


Previous Element
Desc

Next Element
EArc