BezierSegment

Inheritance: PathSegment AvaloniaUI documentation: BezierSegment API

Constructors

ConstructorsDescription

BezierSegment(point1: Point, point2: Point, point3: Point)

Creates a BezierSegment widget.

Properties

PropertiesDescription

reference(value: ViewRef)

Link a ViewRef to access the direct BezierSegment control instance.

Usages

BezierSegment(Point(100., 0.), Point(200., 200.), Point(300., 100.))

Get access to the underlying BezierSegment

let pathSegmentRef = ViewRef<BezierSegment>()

BezierSegment(Point(100., 0.), Point(200., 200.), Point(300., 100.))
    .reference(pathSegmentRef)

Last updated