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.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
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