Class PolygonViewHelper
- Namespace
- IO.Scanbot.Sdk.Util.View
- Assembly
- BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/util/view/PolygonViewHelper", DoNotGenerateAcw = true)]
public class PolygonViewHelper : Object, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
PolygonViewHelper
- Implements
-
- Inherited Members
-
Constructors
PolygonViewHelper()
[Register(".ctor", "()V", "")]
public PolygonViewHelper()
PolygonViewHelper(nint, JniHandleOwnership)
protected PolygonViewHelper(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReference
nint
transfer
JniHandleOwnership
Fields
D
[Register("d")]
public const int D = 35
Field Value
- int
Properties
A
[Register("a")]
public IList<float> A { get; set; }
Property Value
- IList<float>
B
[Register("b")]
public Matrix B { get; set; }
Property Value
- Matrix
Bottom
[Register("bottom")]
protected int Bottom { get; set; }
Property Value
- int
C
[Register("c")]
public int C { get; set; }
Property Value
- int
Height
[Register("height")]
protected int Height { get; set; }
Property Value
- int
Left
[Register("left")]
protected int Left { get; set; }
Property Value
- int
Right
[Register("right")]
protected int Right { get; set; }
Property Value
- int
Top
[Register("top")]
protected int Top { get; set; }
Property Value
- int
Width
[Register("width")]
protected int Width { get; set; }
Property Value
- int
Methods
CheckPolygonSize(IList<Point>)
[Register("checkPolygonSize", "(Ljava/util/List;)Z", "")]
public static bool CheckPolygonSize(IList<Point> polygon)
Parameters
polygon
IList<Point>
Returns
- bool
GetDrawingPolygon(IList<PointF>, IList<PointF>)
[Register("getDrawingPolygon", "(Ljava/util/List;Ljava/util/List;)V", "GetGetDrawingPolygon_Ljava_util_List_Ljava_util_List_Handler")]
public virtual void GetDrawingPolygon(IList<PointF> polygon, IList<PointF> drawingPolygon)
Parameters
polygon
IList<PointF>
drawingPolygon
IList<PointF>
GetPolygonFromDrawingPolygon(IList<PointF>, IList<PointF>)
[Register("getPolygonFromDrawingPolygon", "(Ljava/util/List;Ljava/util/List;)V", "GetGetPolygonFromDrawingPolygon_Ljava_util_List_Ljava_util_List_Handler")]
public virtual void GetPolygonFromDrawingPolygon(IList<PointF> drawingPolygon, IList<PointF> polygon)
Parameters
drawingPolygon
IList<PointF>
polygon
IList<PointF>
PolygonToLinePoints(IList<PointF>, float[])
[Register("polygonToLinePoints", "(Ljava/util/List;[F)V", "GetPolygonToLinePoints_Ljava_util_List_arrayFHandler")]
public virtual void PolygonToLinePoints(IList<PointF> polygon, float[] points)
Parameters
polygon
IList<PointF>
points
float[]
PolygonToPoints(IList<PointF>, float[])
[Register("polygonToPoints", "(Ljava/util/List;[F)V", "GetPolygonToPoints_Ljava_util_List_arrayFHandler")]
public virtual void PolygonToPoints(IList<PointF> polygon, float[] points)
Parameters
polygon
IList<PointF>
points
float[]
SetImageSize(int, int)
[Register("setImageSize", "(II)V", "GetSetImageSize_IIHandler")]
public virtual void SetImageSize(int width, int height)
Parameters
width
int
height
int
SetLayout(int, int, int, int)
[Register("setLayout", "(IIII)V", "GetSetLayout_IIIIHandler")]
public virtual void SetLayout(int left, int top, int right, int bottom)
Parameters
left
int
top
int
right
int
bottom
int
SetRotation(int)
[Register("setRotation", "(I)V", "GetSetRotation_IHandler")]
public virtual void SetRotation(int degrees)
Parameters
degrees
int