PathGeometry

Inheritance: Geometry AvaloniaUI documentation: PathGeometry API

Constructors

Properties

Usages

PathGeometry(FillRule.EvenOdd) {
    PathFigure(Point(10., 50.)) {
        ArcSegment(Point(200., 100.), Size(100., 50.))
    }
}

Get access to the underlying AvaloniaUI PathGeometry

let geometryRef = ViewRef<PathGeometry>()

(PathGeometry(FillRule.EvenOdd) {
    PathFigure(Point(10., 50.)) {
        ArcSegment(Point(200., 100.), Size(100., 50.))
    }
})
    .reference(geometryRef)

Last updated