PolyLineSegment

Inheritance: PathSegment AvaloniaUI documentation: PolyLineSegment API

Constructors

Constructors
Description

PolyLineSegment(points: Point list)

Creates a PolyLineSegment widget.

Properties

Properties
Description

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