EllipseGeometry

Inheritance: Geometry AvaloniaUI documentation: EllipseGeometry API

Constructors

ConstructorsDescription

EllipseGeometry(radiusX: float, radiusY: float)

Creates a EllipseGeometry widget.

Properties

PropertiesDescription

center(value: Point)

Sets the Center property.

rect(value: Rect)

Sets the Rect property.

reference(value: ViewRef)

Link a ViewRef to access the direct EllipseGeometry control instance.

Usages

EllipseGeometry(100., 100.).center(Point(150., 150.))

Get access to the underlying EllipseGeometry

let geometryRef = ViewRef<EllipseGeometry>()

EllipseGeometry(100., 100.).center(Point(150., 150.))
    .reference(geometryRef)

Last updated