fromDegrees

fun fromDegrees(degrees: Int): PdfRotation

Returns the rotation matching degrees.

Throws

if degrees is not 0, 90, 180, or 270.