TransformGroup

Inheritance: Transform AvaloniaUI documentation: TransformGroup API

Constructors

ConstructorsDescription

TransformGroup()

Creates a TransformGroup widget.

Properties

PropertiesDescription

reference(value: ViewRef)

Link a ViewRef to access the direct TransformGroup control instance.

Usages

VisualBrush(...)
    .transform(
        TransformGroup() {
            ScaleTransform(2., 2.)
            SkewTransform(45.)
            RotateTransform()
            TranslateTransform(5., 5.)
        }
    )

Get access to the underlying TransformGroup

let transformRef = ViewRef<TransformGroup>()

VisualBrush(...)
    .transform(
        (TransformGroup() {
            ScaleTransform(2., 2.)
            SkewTransform(45.)
            RotateTransform()
            TranslateTransform(5., 5.)
        }).reference(transformRef)
    )

Last updated