Pen
Last updated
Last updated
Inheritance: AvaloniaObject AvaloniaUI documentation: Pen API
Constructors | Description |
---|---|
Properties | 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.
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.