HelpBot Assistant

How can I help you?

RadialGradient

16 Mar 20261 minute to read

Represents a radial gradient configuration.

Properties

cx number

The x-coordinate of the radial gradient center.

Defaults to 0.5

cy number

The y-coordinate of the radial gradient center.

Defaults to 0.5

fx number

The focal x-coordinate for the radial gradient.

Defaults to null

fy number

The focal y-coordinate for the radial gradient.

Defaults to null

gradientColorStop GradientColorStopModel[]

The collection of color stops in the gradient.

r number

The radius of the radial gradient.

Defaults to 0.5