Properties:
Name | Type | Default | Description |
---|---|---|---|
alpha |
number |
1
|
Coefficient for alpha multiplication. |
blur |
number |
2
|
The strength of the shadow's blur. |
color |
ColorSource |
0x000000
|
The color value of shadow. |
kernels |
number[] |
null
|
The kernel size of the blur filter. |
offset |
PointData |
{x:4,y:4}
|
The offset position of the drop-shadow relative to the original image. |
pixelSize |
PointData | number[] | number |
{x:1,y:1}
|
The pixelSize of the Kawase Blur filter |
quality |
number |
4
|
The quality of the Blur Filter. |
resolution |
number |
1
|
The resolution of the Kawase Blur filter |
shadowOnly |
boolean |
false
|
Hide the contents, only show the shadow. |
Members
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
The kernel size of the blur filter.
- Default Value:
- null
The offset position of the drop-shadow relative to the original image.
- Default Value:
- {x:4,y:4}
The pixelSize of the Kawase Blur filter
- Default Value:
- {x:1,y:1}
The quality of the Blur Filter.
- Default Value:
- 4
The resolution of the Kawase Blur filter
- Default Value:
- 1
Hide the contents, only show the shadow.
- Default Value:
- false