Skip to content

DropShadowOptions

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

Options for the dropShadow preset.

optional alpha?: number

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

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


optional blur?: number

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

Shadow blur strength in host-local pixels. Default: 4.


optional color?: number

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

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


optional offset?: object

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

Shadow offset in host-local pixels. Default: { x: 4, y: 4 }.

x: number

y: number


optional quality?: number

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

Blur quality. Default: 3.


optional shadowOnly?: boolean

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

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

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/effects.md.