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