PolyLineSegment

Inheritance: PathSegment AvaloniaUI documentation: PolyLineSegment API

Constructors

ConstructorsDescription

PolyLineSegment(points: Point list)

Creates a PolyLineSegment widget.

Properties

PropertiesDescription

reference(value: ViewRef)

Link a ViewRef to access the direct PolyLineSegment control instance.

Usages

PolyLineSegment([ Point(50., 10.); Point(50., 50.) ])

Get access to the underlying PolyLineSegment

let pathSegmentRef = ViewRef<PolyLineSegment>()

PolyLineSegment([ Point(50., 10.); Point(50., 50.) ])
    .reference(pathSegmentRef)

Last updated