Pen
Inheritance: AvaloniaObject AvaloniaUI documentation: Pen API
Constructors
Properties
Usages
Get access to the underlying Pen
Last updated
Inheritance: AvaloniaObject AvaloniaUI documentation: Pen API
Last updated
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.