LumaGradientBuilder

class LumaGradientBuilder<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

Specifies the maximum luminance level for manipulating the gradient's color representation. This value determines the upper bound of the luminance range applied to the gradient transformation. It is used in combination with minLevel to define the range of luminance levels that affect the final gradient appearance.

Link copied to clipboard

Specifies the minimum luminance level for manipulating the gradient's color representation. This value determines the lower bound of the luminance range applied to the gradient transformation. It is used in combination with maxLevel to define the range of luminance levels that affect the final gradient appearance.

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.