Class LinearGradientBrush
Namespace: VelloSharp
Assembly: VelloSharp.Core.dll
public sealed class LinearGradientBrush : Brush
Inheritance
object ← Brush ← LinearGradientBrush
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
LinearGradientBrush(Vector2, Vector2, IReadOnlyList<GradientStop>, ExtendMode)
public LinearGradientBrush(Vector2 start, Vector2 end, IReadOnlyList<GradientStop> stops, ExtendMode extend = ExtendMode.Pad)
Parameters
start
Vector2
end
Vector2
stops
IReadOnlyList<GradientStop>
extend
ExtendMode
Properties
End
public Vector2 End { get; }
Property Value
Extend
public ExtendMode Extend { get; }
Property Value
Start
public Vector2 Start { get; }
Property Value
Stops
public ReadOnlySpan<GradientStop> Stops { get; }