Skip to main content

Interface: ZoomEffect

Defined in: attributes/shape/effects/implementations/zoom.ts:5

Properties

center

center: Vector2

Defined in: attributes/shape/effects/implementations/zoom.ts:8

Zoom centre in 0–1 normalised layer coordinates ({ x: 0.5, y: 0.5 } = middle).


scale

scale: number

Defined in: attributes/shape/effects/implementations/zoom.ts:13

Magnification factor for the backdrop beneath the node. 1 = no zoom, 2 = 2× magnified, 0.5 = zoomed out to half size.


type

type: "zoom"

Defined in: attributes/shape/effects/implementations/zoom.ts:6