Redigeeri

Jagamisviis:


Matrix.Skew(Double, Double) Method

Definition

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

public:
 void Skew(double skewX, double skewY);
public void Skew (double skewX, double skewY);
member this.Skew : double * double -> unit
Public Sub Skew (skewX As Double, skewY As Double)

Parameters

skewX
Double

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

skewY
Double

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

Examples

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

Applies to

See also