RotateTransform

Inheritance: Transform AvaloniaUI documentation: RotateTransform API

Constructors

ConstructorsDescription

RotateTransform(angle: float, centerX: float, centerY: float)

Creates a RotateTransform widget.

RotateTransform(angle: float)

Creates a RotateTransform widget.

RotateTransform()

Creates a RotateTransform widget.

Properties

PropertiesDescription

reference(value: ViewRef)

Link a ViewRef to access the direct RotateTransform control instance.

Usages

VisualBrush(...)
    .transform(
        RotateTransform(45.)
    )

Get access to the underlying RotateTransform

let transformRef = ViewRef<RotateTransform>()

VisualBrush(...)
    .transform(
        RotateTransform(45.)
            .reference(transformRef)
    )

Last updated