Skip to main content

Interface: RadialFillGradient

Defined in: src/core/VMobjectFillGradient.ts:34

Radial gradient. Center and radius use bounding box units (0 to 1).

Properties​

center?​

optional center: [number, number]

Defined in: src/core/VMobjectFillGradient.ts:39

Center as [u, v] in the fill bounding box. Default [0.5, 0.5].


radius?​

optional radius: number

Defined in: src/core/VMobjectFillGradient.ts:41

Radius in bounding box units. Default 0.5, so the box edges reach the last stop.


stops​

stops: FillGradientStop[]

Defined in: src/core/VMobjectFillGradient.ts:37

Ordered color stops.


type​

type: "radial"

Defined in: src/core/VMobjectFillGradient.ts:35