IPen Interface
Definition
Describes how a stroke is drawn.
public interface IPen
Properties
| Name | Description |
|---|---|
| Brush | Gets the brush used to draw the stroke. |
| DashStyle | Gets the style of dashed lines drawn with a Avalonia.Media.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 Avalonia.Media.PathFigure contained in a Avalonia.Media.PathGeometry object. |
| MiterLimit | Gets the limit of the thickness of the join on a mitered corner. |
| Thickness | Gets the stroke thickness. |
Brush Property
Gets the brush used to draw the stroke.
public Avalonia.Media.IBrush Brush { get; set; }
DashStyle Property
Gets the style of dashed lines drawn with a Avalonia.Media.Pen object.
public Avalonia.Media.IDashStyle DashStyle { get; set; }
LineCap Property
Gets the type of shape to use on both ends of a line.
public Avalonia.Media.PenLineCap LineCap { get; set; }
LineJoin Property
Gets a value describing how to join consecutive line or curve segments in a Avalonia.Media.PathFigure contained in a Avalonia.Media.PathGeometry object.
public Avalonia.Media.PenLineJoin LineJoin { get; set; }
MiterLimit Property
Gets the limit of the thickness of the join on a mitered corner.
public double MiterLimit { get; set; }
Thickness Property
Gets the stroke thickness.
public double Thickness { get; set; }