Skip to main content

Class RadialGradientBrush

Namespace: VelloSharp
Assembly: VelloSharp.Core.dll

public sealed class RadialGradientBrush : Brush

Inheritance

objectBrushRadialGradientBrush

Inherited Members

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

Constructors

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

public RadialGradientBrush(Vector2 startCenter, float startRadius, Vector2 endCenter, float endRadius, IReadOnlyList<GradientStop> stops, ExtendMode extend = ExtendMode.Pad)

Parameters

startCenter Vector2

startRadius float

endCenter Vector2

endRadius float

stops IReadOnlyList<GradientStop>

extend ExtendMode

Properties

EndCenter

public Vector2 EndCenter { get; }

Property Value

Vector2

EndRadius

public float EndRadius { get; }

Property Value

float

Extend

public ExtendMode Extend { get; }

Property Value

ExtendMode

StartCenter

public Vector2 StartCenter { get; }

Property Value

Vector2

StartRadius

public float StartRadius { get; }

Property Value

float

Stops

public ReadOnlySpan<GradientStop> Stops { get; }

Property Value

ReadOnlySpan<GradientStop>