Class ScaleTypeTransform
- Namespace
- IO.Scanbot.Sdk.UI.Camera.Util
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/camera/util/ScaleTypeTransform", DoNotGenerateAcw = true)]
public sealed class ScaleTypeTransform : Object, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
ScaleTypeTransform
- Implements
-
- Inherited Members
-
Properties
[Register("INSTANCE")]
public static ScaleTypeTransform Instance { get; }
Property Value
- ScaleTypeTransform
Methods
[Register("getFillScaleWithBufferAspectRatio", "(Landroid/view/View;Landroid/util/Size;)Landroid/util/Pair;", "")]
public static Pair GetFillScaleWithBufferAspectRatio(View view, Size bufferSize)
Parameters
view
View
bufferSize
Size
Returns
- Pair
[Register("getFitScaleWithBufferAspectRatio", "(Landroid/view/View;Landroid/util/Size;)Landroid/util/Pair;", "")]
public static Pair GetFitScaleWithBufferAspectRatio(View view, Size bufferSize)
Parameters
view
View
bufferSize
Size
Returns
- Pair
[Register("getOriginOfCenteredView", "(Landroid/view/View;Landroid/view/View;)Landroid/graphics/Point;", "")]
public static Point GetOriginOfCenteredView(View container, View view)
Parameters
container
View
view
View
Returns
- Point
[Register("getRotationDegrees", "(Landroid/view/View;)I", "")]
public static int GetRotationDegrees(View view)
Parameters
view
View
Returns
- int
IsNaturalPortrait(Context, int)
[Register("isNaturalPortrait", "(Landroid/content/Context;I)Z", "")]
public static bool IsNaturalPortrait(Context context, int rotationDegrees)
Parameters
context
Context
rotationDegrees
int
Returns
- bool
[Register("rotationDegreesFromSurfaceRotation", "(I)I", "")]
public static int RotationDegreesFromSurfaceRotation(int rotationConstant)
Parameters
rotationConstant
int
Returns
- int