Matrix.Append(Matrix) Methode

Definition

Fügt die angegebene Matrix-Struktur an diese Matrix-Struktur an.

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)

Parameter

matrix
Matrix

Die an diese Matrix-Struktur anzufügende Matrix-Struktur.

Beispiele

Im folgenden Beispiel wird gezeigt, wie Sie eine Struktur an eine Matrix andere Struktur anfügen Matrix .

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; 
}

Hinweise

Dieser Vorgang entspricht dem Multiplizieren dieser Matrix Struktur durch den Parameter matrix. Die Matrixmultiplizierung ist jedoch nicht kompliziert, daher ist dieser Vorgang nicht identisch mit der Multiplikation des Parameters matrix durch diese Matrix Struktur; d. h. (this * ) is not the same wie (matrix * matrixthis).

Gilt für

Siehe auch