Skip to content

Interface: LinearGradientFillProps ​

Properties ​

angle? ​

optional angle?: number

Gradient angle in degrees. Values are normalized into 0-359.999...

Default ​

ts
0

kind ​

kind: "linear"

Gradient type.


rotateWithShape? ​

optional rotateWithShape?: boolean

Whether the fill rotates with the shape.

Default ​

ts
true

scaled? ​

optional scaled?: boolean

Whether the gradient angle scales with the fill region.


stops ​

stops: GradientStopProps[]

Gradient stops. Stops are serialized in ascending position order.