Class PolygonViewHelper
- Namespace
- IO.Scanbot.Sdk.Util.View
- Assembly
- DocumentSDK.NET.Droid.dll
public class PolygonViewHelper : Object
- Inheritance
-
PolygonViewHelper
Constructors
PolygonViewHelper()
public PolygonViewHelper()
PolygonViewHelper(nint, JniHandleOwnership)
protected PolygonViewHelper(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReference nint
transfer JniHandleOwnership
Properties
Bottom
protected int Bottom { get; set; }
Property Value
- int
Height
protected int Height { get; set; }
Property Value
- int
Left
protected int Left { get; set; }
Property Value
- int
Right
protected int Right { get; set; }
Property Value
- int
Top
protected int Top { get; set; }
Property Value
- int
Width
protected int Width { get; set; }
Property Value
- int
Methods
CheckPolygonSize(IList<Point>)
public static bool CheckPolygonSize(IList<Point> polygon)
Parameters
polygon IList<Point>
Returns
- bool
GetDrawingPolygon(IList<PointF>, IList<PointF>)
public virtual void GetDrawingPolygon(IList<PointF> polygon, IList<PointF> drawingPolygon)
Parameters
polygon IList<PointF>
drawingPolygon IList<PointF>
GetPolygonFromDrawingPolygon(IList<PointF>, IList<PointF>)
public virtual void GetPolygonFromDrawingPolygon(IList<PointF> drawingPolygon, IList<PointF> polygon)
Parameters
drawingPolygon IList<PointF>
polygon IList<PointF>
PolygonToLinePoints(IList<PointF>, float[])
public virtual void PolygonToLinePoints(IList<PointF> polygon, float[] points)
Parameters
polygon IList<PointF>
points float[]
PolygonToPoints(IList<PointF>, float[])
public virtual void PolygonToPoints(IList<PointF> polygon, float[] points)
Parameters
polygon IList<PointF>
points float[]
SetImageSize(int, int)
public virtual void SetImageSize(int width, int height)
Parameters
width int
height int
SetLayout(int, int, int, int)
public virtual void SetLayout(int left, int top, int right, int bottom)
Parameters
left int
top int
right int
bottom int
SetRotation(int)
public virtual void SetRotation(int degrees)
Parameters
degrees int