MatrixTransform

Inheritance: Transform AvaloniaUI documentation: MatrixTransform API

Constructors

Constructors
Description

MatrixTransform(matrix: Matrix)

Creates a MatrixTransform widget.

Properties

Properties
Description

reference(value: ViewRef)

Link a ViewRef to access the direct MatrixTransform control instance.

Usages

(DrawingGroup() {
    ...
}).transform(
    MatrixTransform(Matrix.Parse("1,0,0,1.25,-10,1031.4"))
)

Get access to the underlying MatrixTransform

let transformRef = ViewRef<MatrixTransform>()

(DrawingGroup() {
    ...
}).transform(
    MatrixTransform(Matrix.Parse("1,0,0,1.25,-10,1031.4"))
        .reference(transformRef)
)

Last updated