Pen
Inheritance: AvaloniaObject AvaloniaUI documentation: Pen API
Constructors
Constructors | Description |
---|---|
Pen(brush: WidgetBuilder<'msg, #IFabBrush>, thickness: float) | Creates a Pen widget. |
Pen(brush: IBrush, thickness: float) | Creates a Pen widget. |
Pen(brush: string, thickness: float) | Creates a Pen widget. |
Properties
Properties | Description |
---|---|
dashStyle(value: WidgetBuilder<'msg, IFaDashStyle>) | Sets the DashStyle property. |
lineCap(value: PenLineCap) | Sets the LineCap property. |
lineJoin(value: PenLineCap) | Sets the LineJoin property. |
miterLimit(value: float) | Sets the MiterLimit property. |
reference(value: ViewRef) | Link a ViewRef to access the direct Pen control instance. |
Usages
Get access to the underlying Pen
Last updated