LineGeometry
Inheritance: Geometry\
AvaloniaUI documentation: LineGeometry API
Constructors
| Constructors |
Description |
| LineGeometry(startPoint: Point, endPoint: Point) |
Creates a LineGeometry widget. |
Properties
| Properties |
Description |
| reference(value: ViewRef) |
Link a ViewRef to access the direct LineGeometry control instance. |
Usages
LineGeometry(Point(10., 20.), Point(100., 130.))
Get access to the underlying LineGeometry
let geometryRef = ViewRef<LineGeometry>()
LineGeometry(Point(10., 20.), Point(100., 130.))
.reference(geometryRef)