TransformGroup

Inheritance: Transform AvaloniaUI documentation: TransformGroup API

Constructors

Constructors
Description

TransformGroup()

Creates a TransformGroup widget.

Properties

Properties
Description

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