ImmutablePen Class

Describes how a stroke is drawn.

Definition

Namespace: Avalonia.Media.Immutable
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public class ImmutablePen : IPen, 
	IEquatable<IPen>
Inheritance
Object    ImmutablePen
Implements
IPen, IEquatableIPen

Properties

Brush Gets the brush used to draw the stroke.
DashStyle Specifies the style of dashed lines drawn with a Pen object.
LineCap Specifies the type of graphic shape to use on both ends of a line.
LineJoin Specifies how to join consecutive line or curve segments in a PathFigure (subpaths) contained in a PathGeometry object.
MiterLimit The limit on the ratio of the miter length to half this pen's Thickness.
Thickness Gets the stroke thickness.

Methods

Equals(IPen)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

ToImmutable Converts a pen to an immutable pen.
(Defined by BrushExtensions)

See Also