Table of Contents

Class SweepGradientPaint

Namespace
SixLabors.Fonts.Rendering
Assembly
SixLabors.Fonts.dll

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

Vector2

EndAngle

Gets the end angle in degrees.

public float EndAngle { get; init; }

Property Value

float

Spread

Gets the spread method applied when sampling outside the [0, 1] range.

public SpreadMethod Spread { get; init; }

Property Value

SpreadMethod

StartAngle

Gets the start angle in degrees.

public float StartAngle { get; init; }

Property Value

float

Stops

Gets the ordered gradient stops (ascending by Offset).

public GradientStop[] Stops { get; init; }

Property Value

GradientStop[]