Skip to main content

Pen Properties

Properties

BrushGets or sets the brush used to draw the stroke.
DashStyleGets or sets the style of dashed lines drawn with a Pen object.
Item(AvaloniaProperty)Gets or sets the value of a AvaloniaProperty.
(Inherited from AvaloniaObject)
Item(IndexerDescriptor)Gets or sets a binding for a AvaloniaProperty.
(Inherited from AvaloniaObject)
LineCapGets or sets the type of shape to use on both ends of a line.
LineJoinGets or sets the join style for the ends of two consecutive lines drawn with this Pen.
MiterLimitGets or sets the limit of the thickness of the join on a mitered corner.
ThicknessGets or sets the stroke thickness.

See Also

Reference

Pen Class
Avalonia.Media Namespace