Click or drag to resize
Pdftools logo

AffineTransformSkew Method

Skew.

Skew is specified by [1 tan a tan b 1 0 0], which skews the x axis by an angle a and the y axis by an angle b.

Namespace: PdfTools.Toolbox.Geometry.Real
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.3.0+2e7887cb8ae45c4d911ad975ad001ac2f1f257d8
Syntax
C#
public void Skew(
	double alpha,
	double beta
)

Parameters

alpha  Double
angle a in degrees
beta  Double
angle b in degrees
Exceptions
ExceptionCondition
InvalidOperationExceptionIf the affine transform is singular, e.g. default initialized. (Use Identity as an initial value.)
ArgumentExceptionif any of the given angles is too close to 90 + k*180 degrees for k = ..., -2, -1, 0, 1, 2, ...
See Also