DropShadowOptions
Defined in: effects/src/dropShadow.ts:14
Options for the dropShadow preset.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: effects/src/dropShadow.ts:20
Shadow alpha 0..1. Drives getIntensity. Default: 0.5.
optionalblur?:number
Defined in: effects/src/dropShadow.ts:22
Shadow blur strength in host-local pixels. Default: 4.
color?
Section titled “color?”
optionalcolor?:number
Defined in: effects/src/dropShadow.ts:18
Shadow color (0xRRGGBB). Default: 0x000000.
offset?
Section titled “offset?”
optionaloffset?:object
Defined in: effects/src/dropShadow.ts:16
Shadow offset in host-local pixels. Default: { x: 4, y: 4 }.
x:
number
y:
number
quality?
Section titled “quality?”
optionalquality?:number
Defined in: effects/src/dropShadow.ts:24
Blur quality. Default: 3.
shadowOnly?
Section titled “shadowOnly?”
optionalshadowOnly?: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.