Class RotationUtils
Inheritance
System.Object
RotationUtils
Assembly: PDFViewCtrlTools.dll
public class RotationUtils : Object
Constructors
Declaration
Declaration
protected RotationUtils(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
Declaration
public static double GetRotationAngleInRadiansByDegrees(int angleInDegrees)
Parameters
Type |
Name |
Description |
System.Int32 |
angleInDegrees |
|
Returns
Type |
Description |
System.Double |
|
Declaration
public static Rect GetUnrotatedDimensionsFromBBox(Rect rect, int angleInDegree)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Rect |
rect |
|
System.Int32 |
angleInDegree |
|
Returns
Type |
Description |
pdftronprivate.PDF.Rect |
|
Declaration
public static RectF GetUnrotatedDimensionsFromBBoxRectF(Rect rect, int angleInDegree)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Rect |
rect |
|
System.Int32 |
angleInDegree |
|
Returns
Type |
Description |
Android.Graphics.RectF |
|
Declaration
public static bool IsDivisibleByPiOverFour(double angleInRadians)
Parameters
Type |
Name |
Description |
System.Double |
angleInRadians |
|
Returns
Type |
Description |
System.Boolean |
|
ShouldMaintainAspectRatio(Int32)
Declaration
public static bool ShouldMaintainAspectRatio(int angleInDegree)
Parameters
Type |
Name |
Description |
System.Int32 |
angleInDegree |
|
Returns
Type |
Description |
System.Boolean |
|