Class SweepGradientBrush
Namespace: VelloSharp
Assembly: VelloSharp.Core.dll
public sealed class SweepGradientBrush : Brush
Inheritance
object ← Brush ← SweepGradientBrush
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
EndAngle
public float EndAngle { get; }
Property Value
Extend
public ExtendMode Extend { get; }
Property Value
StartAngle
public float StartAngle { get; }
Property Value
Stops
public ReadOnlySpan<GradientStop> Stops { get; }