Previous Element | Next Element |
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 Value | 0 | |
To Value | 100 | |
Default Value | 5 | |
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 Value | 0 | |
To Value | 100 | |
Default Value | 5 | |
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 Value | 0 | |
To Value | 1000 | |
Default Value | 100 | |
quality | This defines the rendering quality of the filter. The higher the quality, the greater the processing power required to render the filter. | |
Values |
| |
Default Value | low | |
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 Value | 0 | |
To Value | 255 | |
Value Template | #ColorColorColor | |
From Value | 00 | |
To Value | ff | |
Value Range | Any SVG color name supported in the SVG1.1 specification. | |
Default Value | black | |
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 Value | 0 | |
To Value | 360 | |
Default Value | 45 | |
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 Value | 32 | |
Default Value | 5 | |
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 |
| |
Default Value | false | |
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 |
| |
Default Value | false | |
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 |
| |
Default Value | false |
Parent Elements
FiltersExamples
None
Previous Element | Next Element |