Skip to main content

Class VelloPen

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

public sealed class VelloPen : IDisposable

Inheritance​

object ← VelloPen

Implements​

IDisposable

Inherited Members​

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

Constructors​

VelloPen(Color, float)​

public VelloPen(Color color, float width = 1)

Parameters​

color Color

width float

VelloPen(VelloBrush, float)​

public VelloPen(VelloBrush brush, float width = 1)

Parameters​

brush VelloBrush

width float

Properties​

Alignment​

public PenAlignment Alignment { get; set; }

Property Value​

PenAlignment

Brush​

public VelloBrush? Brush { get; set; }

Property Value​

VelloBrush?

BrushTransform​

public Matrix3x2? BrushTransform { get; set; }

Property Value​

Matrix3x2?

Color​

public Color Color { get; set; }

Property Value​

Color

DashOffset​

public float DashOffset { get; set; }

Property Value​

float

DashPattern​

public float[]? DashPattern { get; set; }

Property Value​

float[]?

EndCap​

public LineCap EndCap { get; set; }

Property Value​

LineCap

LineJoin​

public LineJoin LineJoin { get; set; }

Property Value​

LineJoin

MiterLimit​

public float MiterLimit { get; set; }

Property Value​

float

StartCap​

public LineCap StartCap { get; set; }

Property Value​

LineCap

Width​

public float Width { get; set; }

Property Value​

float

Methods​

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()