Matrix.Append(Matrix) Method

Definition

Anexa la estructura Matrix especificada a esta estructura Matrix.Appends the specified Matrix structure to this Matrix structure.

public:
 void Append(System::Windows::Media::Matrix matrix);
public void Append (System.Windows.Media.Matrix matrix);
member this.Append : System.Windows.Media.Matrix -> unit
Public Sub Append (matrix As Matrix)

Parameters

matrix
Matrix

La estructura Matrix que se va a anexar a esta estructura Matrix.The Matrix structure to append to this Matrix structure.

Examples

En el ejemplo siguiente se muestra cómo anexar una estructura Matrix a otra estructura de Matrix.The following example shows how to append a Matrix structure to another Matrix structure.

private Matrix rotateAboutPointExample()
{
    
    // Creating a Matrix structure.
    Matrix myMatrix = new Matrix(5, 10, 15, 20, 25, 30);
    
    // Rotate the matrix 90 degrees about the point (100,100).
    // myMatrix becomes equal to (-10, 4, -20, 15, 170, 25).
    myMatrix.RotateAt(90, 100, 100);
    
    return myMatrix; 
}

Remarks

Esta operación equivale a multiplicar esta estructura de Matrix por el parámetro matrix.This operation is the same as multiplying this Matrix structure by the parameter matrix. No obstante, la multiplicación de matrices no es conmutativa, por lo que esta operación no es lo mismo que multiplicar el parámetro matrix por esta estructura de Matrix; es decir, (este * matrix) no es lo mismo que (matrix * this).Matrix multiplication is not commutative, though, so this operation is not the same as multiplying the parameter matrix by this Matrix structure; that is, (this * matrix) is not the same as (matrix * this).

Applies to

See also