DropShadowOptions
Defined in: effects/src/dropShadow.ts:7
Options for the dropShadow preset.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: effects/src/dropShadow.ts:13
Shadow alpha 0..1. Drives getIntensity. Default: 0.5.
optionalblur?:number
Defined in: effects/src/dropShadow.ts:15
Shadow blur strength. Default: 4.
color?
Section titled “color?”
optionalcolor?:number
Defined in: effects/src/dropShadow.ts:11
Shadow color (0xRRGGBB). Default: 0x000000.
offset?
Section titled “offset?”
optionaloffset?:object
Defined in: effects/src/dropShadow.ts:9
Shadow offset relative to the original. Default: { x: 4, y: 4 }.
x:
number
y:
number
quality?
Section titled “quality?”
optionalquality?:number
Defined in: effects/src/dropShadow.ts:17
Blur quality. Default: 3.
shadowOnly?
Section titled “shadowOnly?”
optionalshadowOnly?:boolean
Defined in: effects/src/dropShadow.ts:19
Hide the original, show only the shadow. Default: false.