Inheritance: Geometry
AvaloniaUI documentation: RectangleGeometry API
Constructors | Description |
---|---|
RectangleGeometry(rect: Rect) | Creates a RectangleGeometry widget. |
Properties | Description |
---|---|
reference(value: ViewRef) | Link a ViewRef to access the direct RectangleGeometry control instance. |
RectangleGeometry(Rect(10., 20., 150., 100.))
let geometryRef = ViewRef<RectangleGeometry>()
RectangleGeometry(Rect(10., 20., 150., 100.))
.reference(geometryRef)