Skip to main content

Interface: BulgePinchEffect

Defined in: attributes/shape/effects/implementations/bulge-pinch.ts:5

Properties

center

center: Vector2

Defined in: attributes/shape/effects/implementations/bulge-pinch.ts:8

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


radius

radius: number

Defined in: attributes/shape/effects/implementations/bulge-pinch.ts:10

Radius of the affected disc in 0–1 of the layer's smaller dimension.


strength

strength: number

Defined in: attributes/shape/effects/implementations/bulge-pinch.ts:12

Distortion amount: positive bulges outward, negative pinches inward (≈ −1…1).


type

type: "bulgePinch"

Defined in: attributes/shape/effects/implementations/bulge-pinch.ts:6