Skip to content

modern-pdf-lib


modern-pdf-lib / skewOp

Function: skewOp()

skewOp(xAngle, yAngle): string

Defined in: src/core/operators/state.ts:163

Produce a cm operator that applies a skew (shear).

Parameters

xAngle

Angle

Skew angle for the x axis.

yAngle

Angle

Skew angle for the y axis.

Returns

string

Released under the MIT License.