Language

Matrix.SetSkew Method

Definition

Overloads

Name Description
SetSkew(Single, Single)

Set the matrix to skew by sx and sy.

SetSkew(Single, Single, Single, Single)

Set the matrix to skew by sx and sy, with a pivot point at (px, py).

SetSkew(Single, Single)

Set the matrix to skew by sx and sy.

[Android.Runtime.Register("setSkew", "(FF)V", "GetSetSkew_FFHandler")]
public virtual void SetSkew(float kx, float ky);
[<Android.Runtime.Register("setSkew", "(FF)V", "GetSetSkew_FFHandler")>]
abstract member SetSkew : single * single -> unit
override this.SetSkew : single * single -> unit

Parameters

kx
Single

The horizontal shear factor, not an angle.

ky
Single

The vertical shear factor, not an angle.

Attributes

Remarks

Set the matrix to skew by sx and sy.

Java documentation for android.graphics.Matrix.setSkew(float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetSkew(Single, Single, Single, Single)

Set the matrix to skew by sx and sy, with a pivot point at (px, py).

[Android.Runtime.Register("setSkew", "(FFFF)V", "GetSetSkew_FFFFHandler")]
public virtual void SetSkew(float kx, float ky, float px, float py);
[<Android.Runtime.Register("setSkew", "(FFFF)V", "GetSetSkew_FFFFHandler")>]
abstract member SetSkew : single * single * single * single -> unit
override this.SetSkew : single * single * single * single -> unit

Parameters

kx
Single

The horizontal shear factor, not an angle.

ky
Single

The vertical shear factor, not an angle.

px
Single

The horizontal coordinate of the skew pivot.

py
Single

The vertical coordinate of the skew pivot.

Attributes

Remarks

Set the matrix to skew by sx and sy, with a pivot point at (px, py). The pivot point is the coordinate that should remain unchanged by the specified transformation.

Java documentation for android.graphics.Matrix.setSkew(float, float, float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to