Class LinearGradientPaint
Linear gradient paint.
public sealed class LinearGradientPaint : Paint
- Inheritance
-
LinearGradientPaint
- Inherited Members
Properties
P0
Gets the gradient start point. Normalized if SixLabors.Fonts.Rendering.LinearGradientPaint.Units is ObjectBoundingBox.
public Vector2 P0 { get; init; }
Property Value
P1
Gets the gradient end point. Normalized if SixLabors.Fonts.Rendering.LinearGradientPaint.Units is ObjectBoundingBox.
public Vector2 P1 { get; init; }
Property Value
P2
Gets the rotation point for the gradient. Normalized if SixLabors.Fonts.Rendering.LinearGradientPaint.Units is ObjectBoundingBox.
public Vector2? P2 { get; init; }
Property Value
Spread
Gets the spread method applied when sampling outside the [0, 1] range.
public SpreadMethod Spread { get; init; }
Property Value
Stops
Gets the ordered gradient stops (ascending by Offset).
public GradientStop[] Stops { get; init; }