Skip to main content

Class SweepGradientBrush

Namespace: VelloSharp
Assembly: VelloSharp.Core.dll

public sealed class SweepGradientBrush : Brush

Inheritance

objectBrushSweepGradientBrush

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

SweepGradientBrush(Vector2, float, float, IReadOnlyList<GradientStop>, ExtendMode)

public SweepGradientBrush(Vector2 center, float startAngle, float endAngle, IReadOnlyList<GradientStop> stops, ExtendMode extend = ExtendMode.Pad)

Parameters

center Vector2

startAngle float

endAngle float

stops IReadOnlyList<GradientStop>

extend ExtendMode

Properties

Center

public Vector2 Center { get; }

Property Value

Vector2

EndAngle

public float EndAngle { get; }

Property Value

float

Extend

public ExtendMode Extend { get; }

Property Value

ExtendMode

StartAngle

public float StartAngle { get; }

Property Value

float

Stops

public ReadOnlySpan<GradientStop> Stops { get; }

Property Value

ReadOnlySpan<GradientStop>