build

open override fun build(): GradientBase<C>(source)

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

Return

An instance of GradientBase configured with the specified gradient parameters.