Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1021 Bytes

linegeometry.md

File metadata and controls

31 lines (21 loc) · 1021 Bytes

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)