Skip to main content

Class VelloPathGradientBrush

Namespace: VelloSharp.WinForms
Assembly: VelloSharp.WinForms.Core.dll

public sealed class VelloPathGradientBrush : VelloBrush, IDisposable

Inheritance

objectVelloBrushVelloPathGradientBrush

Implements

IDisposable

Inherited Members

VelloBrush.Transform, VelloBrush.Dispose(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

VelloPathGradientBrush(PointF, float, Color, Color)

public VelloPathGradientBrush(PointF center, float radius, Color centerColor, Color surroundColor)

Parameters

center PointF

radius float

centerColor Color

surroundColor Color

VelloPathGradientBrush(ReadOnlySpan<PointF>, Color, Color)

public VelloPathGradientBrush(ReadOnlySpan<PointF> points, Color centerColor, Color surroundColor)

Parameters

points ReadOnlySpan<PointF>

centerColor Color

surroundColor Color

Properties

Center

public PointF Center { get; set; }

Property Value

PointF

CenterColor

public Color CenterColor { get; set; }

Property Value

Color

ExtendMode

public ExtendMode ExtendMode { get; set; }

Property Value

ExtendMode

Radius

public float Radius { get; set; }

Property Value

float

SurroundColor

public Color SurroundColor { get; set; }

Property Value

Color

Methods

CreateCoreBrushCore()

protected override Brush CreateCoreBrushCore()

Returns

Brush