Previous Element | Next Element |
Bevel
Defines a single bevel 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 | |
shadow | The color of the 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 shadowOpacity 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 | |
shadowOpacity | Optional attribute specifying the opacity of the shadow color with 0 being totally transparent and 1.0 totally opaque. This will override any opacity channel value specified as part of the shadowColor attribute. | |
From Value | 0.0 | |
To Value | 1.0 | |
Default Value | 1.0 | |
highlight | The color of the bevel highlight 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 highlightOpacity 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 | white | |
highlightOpacity | Optional attribute specifying the opacity of the highlight color with 0 being totally transparent and 1.0 totally opaque. This will override any opacity channel value specified as part of the highlightColor attribute. | |
From Value | 0.0 | |
To Value | 1.0 | |
Default Value | 1.0 | |
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 | |
type | Defines the type of bevel displayed. | |
Values |
| |
Default Value | inner |
Parent Elements
FiltersExamples
None
Previous Element | Next Element |