Compartir a través de


Matrix (MatrixTransform)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the Matrix that defines this transformation.

<object>
  <object.Matrix>
    singleMatrix
  </object.Matrix>
</object>
value = object.Matrix
object.Matrix = value

XAML Values

Value

Description

singleMatrix

Exactly one Matrix object element.

Property Value

Type: Matrix

The Matrix object that defines this transformation. The default value is an identity matrix. An identity matrix has a value of 1 in coefficients [1,1], [2,2], and [3,3], and a value of 0 in the rest of the coefficients.

This property is read/write. The default value is an identity matrix.

Managed Equivalent

Matrix

Remarks

The Matrix class is for custom transformations. It is often easier to use the following specific transformations: RotateTransform, ScaleTransform, SkewTransform, or TranslateTransform.

Applies To

MatrixTransform