Interface for all properties of a RadialGradientFillStyle.

Hierarchy

  • RadialGradientFillStyleProperties

Properties

Properties

The extent for gradient.

Defines where the gradient takes it's size.

position: Point

Gradient center position.

A element relative coordinate. 0 to 1 coordinate space. { x: 0, y: 0 } is bottom left. { x: 1, y: 1 } is top right.

The shape for the gradient

stops: ColorStop[]

Gradient color stops