Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.01 KB

polylinesegment.md

File metadata and controls

31 lines (21 loc) · 1.01 KB

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)