Skip to main content

Interface: LinearFillGradient

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

Linear gradient. The axis runs across the fill bounding box.

Properties​

angle?​

optional angle: number

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

Direction angle in radians. 0 runs left to right, PI/2 runs bottom to top. Default 0.


stops​

stops: FillGradientStop[]

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

Ordered color stops.


type​

type: "linear"

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