Matrix.Append(Matrix) 메서드

정의

지정된 Matrix 구조를 이 Matrix 구조체에 추가합니다.

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)

매개 변수

matrix
Matrix

MatrixMatrix 구조체에 추가할 구조체입니다.

예제

다음 예제에서는 다른 Matrix 구조체에 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; 
}

설명

이 작업은 이 Matrix 구조체를 매개 변수 matrix에 곱하는 것과 같습니다. 그러나 행렬 곱셈은 정류되지 않으므로 이 작업은 매개 변수 matrix 를 이 Matrix 구조로 곱하는 것과 동일하지 않습니다. 즉,(이 * matrix)는 (matrix * 이것)과 다릅니다.

적용 대상

추가 정보