IPen Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
Describes how a stroke is drawn.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface IPen
<NotClientImplementableAttribute>
Public Interface IPen
[<NotClientImplementableAttribute>]
type IPen = interface end
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) |