LinearGradientBuilder
class LinearGradientBuilder<C : ConvertibleToColorRGBa, AlgebraicColor<C>, CastableToVector4>(gradientBuilder: GradientBuilder<C>) : GradientShadeStyleBuilder<C> (source)
Properties
Link copied to clipboard
Specifies the end point of the linear gradient. The coordinate values are normalized when using BOUNDS coordinates, where (0,0) represents the top-left corner and (1,1) represents the bottom-right corner of the gradient's bounding box. The default value is set to Vector2(1.0, 0.5)
, which places the end point at the right middle edge of the bounding box.
Link copied to clipboard
Specifies the start point of the linear gradient. The coordinate values are normalized when using BOUNDS coordinates, where (0,0) represents the top-left corner and (1,1) represents the bottom-right corner of the gradient's bounding box. The default value is set to Vector2(0.0, 0.5)
, which places the start point at the left middle edge of the bounding box.