IPen Interface

Describes how a stroke is drawn.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IPen

Properties

Brush Gets the brush used to draw the stroke.
DashStyle Gets the style of dashed lines drawn with a Pen object.
LineCap Gets the type of shape to use on both ends of a line.
LineJoin Gets a value describing how to join consecutive line or curve segments in a PathFigure contained in a PathGeometry object.
MiterLimit Gets the limit of the thickness of the join on a mitered corner.
Thickness Gets the stroke thickness.

Extension Methods

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

See Also