Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Matrix.Skew Method

Appends a skew of the specified degrees in the x and y dimensions to this Matrix structure.

Namespace:  System.Windows.Media
Assembly:  WindowsBase (in WindowsBase.dll)

public void Skew(
	double skewX,
	double skewY
)

Parameters

skewX
Type: System.Double

The angle in the x dimension by which to skew this Matrix.

skewY
Type: System.Double

The angle in the y dimension by which to skew this Matrix.

This example shows how to skew a Matrix structure.

private Matrix skewExample()
{

    Matrix myMatrix = new Matrix(5, 10, 15, 20, 25, 30);

    myMatrix.Skew(45, 180);


    // myMatrix is equal to (15, 10, 35, 20, 55, 30). 
    return myMatrix;

}

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft