Skip to content

DropShadowOptions

Defined in: effects/src/dropShadow.ts:7

Options for the dropShadow preset.

optional alpha?: number

Defined in: effects/src/dropShadow.ts:13

Shadow alpha 0..1. Drives getIntensity. Default: 0.5.


optional blur?: number

Defined in: effects/src/dropShadow.ts:15

Shadow blur strength. Default: 4.


optional color?: number

Defined in: effects/src/dropShadow.ts:11

Shadow color (0xRRGGBB). Default: 0x000000.


optional offset?: object

Defined in: effects/src/dropShadow.ts:9

Shadow offset relative to the original. Default: { x: 4, y: 4 }.

x: number

y: number


optional quality?: number

Defined in: effects/src/dropShadow.ts:17

Blur quality. Default: 3.


optional shadowOnly?: boolean

Defined in: effects/src/dropShadow.ts:19

Hide the original, show only the shadow. Default: false.