Name | Type | Attributes | Description |
---|---|---|---|
options |
DropShadowFilterOptions |
<optional> |
Options for the DropShadowFilter constructor. |
Extends
- Filter
Members
DEFAULT_OPTIONS DropShadowFilterOptions staticreadonly
Default values for options.
Coefficient for alpha multiplication
- Default Value:
- 1
The strength of the shadow's blur.
- Default Value:
- 2
The color value of shadow.
- Default Value:
- 0x000000
Example
[0.0, 0.0, 0.0] = 0x000000
Sets the kernels of the Blur Filter
Set the offset position of the drop-shadow relative to the original image.
- Default Value:
- [4,4]
Set the offset position of the drop-shadow relative to the original image on the x
axis
- Default Value:
- 4
Set the offset position of the drop-shadow relative to the original image on the y
axis
- Default Value:
- 4
Sets the pixelSize of the Kawase Blur filter
- Default Value:
- [1,1]
Sets the pixelSize of the Kawase Blur filter on the x
axis
- Default Value:
- 1
Sets the pixelSize of the Kawase Blur filter on the y
axis
- Default Value:
- 1
Sets the quality of the Blur Filter
- Default Value:
- 4
Hide the contents, only show the shadow.
- Default Value:
- false