Class SweepGradientPaint
Sweep (conic) gradient paint. Angles are expressed in degrees in the renderer's y-down space.
public sealed class SweepGradientPaint : Paint
- Inheritance
-
SweepGradientPaint
- Inherited Members
Properties
Center
Gets the center of the sweep gradient.
public Vector2 Center { get; init; }
Property Value
EndAngle
Gets the end angle in degrees.
public float EndAngle { get; init; }
Property Value
Spread
Gets the spread method applied when sampling outside the [0, 1] range.
public SpreadMethod Spread { get; init; }
Property Value
StartAngle
Gets the start angle in degrees.
public float StartAngle { get; init; }
Property Value
Stops
Gets the ordered gradient stops (ascending by Offset).
public GradientStop[] Stops { get; init; }