Class RotationUtils

Helper functions to aide conversions to and from Rotation

Inheritance
System.Object
RotationUtils
Namespace: PSPDFKitFoundation
Assembly: PSPDFKit.dll
Syntax
public static class RotationUtils : object

Methods

FromInt(Int32)

Convert an Int into a Rotation.

Declaration
public static Rotation FromInt(int rotation)
Parameters
Type Name Description
System.Int32 rotation

The Int to convert.

Returns
Type Description
Rotation

The rotation represented by Rotation

ToInt(Rotation)

A helper function to convert a Rotation to an Int.

Declaration
public static int ToInt(Rotation rotation)
Parameters
Type Name Description
Rotation rotation

The Rotation to convert

Returns
Type Description
System.Int32

An Int representing the Rotation.