RadialGradientBuilder

class RadialGradientBuilder<C : ConvertibleToColorRGBa, AlgebraicColor<C>, CastableToVector4>(gradientBuilder: GradientBuilder<C>) : GradientShadeStyleBuilder<C> (source)

Constructors

Link copied to clipboard
constructor(gradientBuilder: GradientBuilder<C>)

Properties

Link copied to clipboard
var center: Vector2

Specifies the center point for the radial gradient.

Link copied to clipboard
var focalCenter: Vector2?

Specifies the focal center point for the radial gradient.

Link copied to clipboard
Link copied to clipboard

Specifies the radius of the radial gradient.

Functions

Link copied to clipboard
open override fun build(): GradientBase<C>

Constructs and returns a GradientBase object representing a gradient with the desired configuration defined in the implementing class.