PolylineGeometry

Inheritance: Geometry AvaloniaUI documentation: PolylineGeometry API

Constructors

ConstructorsDescription

PolylineGeometry(points: Point list, isFilled: bool)

Creates a PolylineGeometry widget.

Properties

PropertiesDescription

reference(value: ViewRef)

Link a ViewRef to access the direct PolylineGeometry control instance.

Usages

PolylineGeometry([ Point(0., 0.); Point(50., 50.); Point(0., 50.) ], true)

Get access to the underlying PolylineGeometry

let geometryRef = ViewRef<PolylineGeometry>()

PolylineGeometry([ Point(0., 0.); Point(50., 50.); Point(0., 50.) ], true)
    .reference(geometryRef)

Last updated