Matrix.Append(Matrix) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 結構上。
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 * 此) 不同。