Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.09 KB

matrixtransform.md

File metadata and controls

39 lines (29 loc) · 1.09 KB

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)
)