Class EditPolygonImageView
- Namespace
- IO.Scanbot.Sdk.UI
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/EditPolygonImageView", DoNotGenerateAcw = true)]
public sealed class EditPolygonImageView : FrameLayout, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IViewManager, IViewParent, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
EditPolygonImageView
- Implements
-
- Inherited Members
-
Constructors
EditPolygonImageView(Context, IAttributeSet)
[Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public EditPolygonImageView(Context context, IAttributeSet attrs)
Parameters
context
Context
attrs
IAttributeSet
Fields
R
[Register("R")]
public const int R = 4
Field Value
- int
S
[Register("S")]
public const double S = 0.01
Field Value
- double
T
[Register("T")]
public const int T = 360
Field Value
- int
Properties
B
[Register("b")]
public EditPolygonImageView.IEditPolygonDragListener B { get; set; }
Property Value
- EditPolygonImageView.IEditPolygonDragListener
C
[Register("c")]
public EditPolygonImageView.IEditPolygonDragStateListener C { get; set; }
Property Value
- EditPolygonImageView.IEditPolygonDragStateListener
D
[Register("d")]
public float D { get; set; }
Property Value
- float
Drawable
public Drawable Drawable { get; }
Property Value
- Drawable
E
[Register("e")]
public Drawable E { get; set; }
Property Value
- Drawable
F
[Register("f")]
public Drawable F { get; set; }
Property Value
- Drawable
FullPolygonSelected
public bool FullPolygonSelected { get; set; }
Property Value
- bool
G
[Register("g")]
public Paint G { get; set; }
Property Value
- Paint
H
[Register("h")]
public Paint H { get; set; }
Property Value
- Paint
I
[Register("i")]
public Paint I { get; set; }
Property Value
- Paint
J
[Register("J")]
public IList<float> J { get; set; }
Property Value
- IList<float>
K
[Register("k")]
public float K { get; set; }
Property Value
- float
L
[Register("l")]
public ViewPropertyAnimator L { get; set; }
Property Value
- ViewPropertyAnimator
M
[Register("m")]
public AppCompatImageView M { get; set; }
Property Value
- AppCompatImageView
N
[Register("n")]
public bool N { get; set; }
Property Value
- bool
O
[Register("o")]
public IList O { get; set; }
Property Value
- IList
P
[Register("p")]
public IList P { get; set; }
Property Value
- IList
PointsDraggable
public bool PointsDraggable { get; set; }
Property Value
- bool
Polygon
public IList<PointF> Polygon { get; set; }
Property Value
- IList<PointF>
Q
[Register("q")]
public IList Q { get; set; }
Property Value
- IList
U
[Register("u")]
public IList U { get; set; }
Property Value
- IList
V
[Register("v")]
public IList V { get; set; }
Property Value
- IList
W
[Register("w")]
public float W { get; set; }
Property Value
- float
X
[Register("x")]
public float X { get; set; }
Property Value
- float
Y
[Register("y")]
public Bitmap Y { get; set; }
Property Value
- Bitmap
Z
[Register("z")]
public Bitmap Z { get; set; }
Property Value
- Bitmap
Methods
A(EditPolygonImageView, PointF, PointF)
[Register("a", "(Lio/scanbot/sdk/ui/EditPolygonImageView;Landroid/graphics/PointF;Landroid/graphics/PointF;)I", "")]
public static int A(EditPolygonImageView this_0, PointF lhs, PointF rhs)
Parameters
this_0
EditPolygonImageView
lhs
PointF
rhs
PointF
Returns
- int
A(EditPolygonImageView, IList)
[Register("a", "(Lio/scanbot/sdk/ui/EditPolygonImageView;Ljava/util/List;)V", "")]
public static void A(EditPolygonImageView this_0, IList _newPolygon)
Parameters
this_0
EditPolygonImageView
_newPolygon
IList
A(EditPolygonImageView, IList, IList)
[Register("a", "(Lio/scanbot/sdk/ui/EditPolygonImageView;Ljava/util/List;Ljava/util/List;)V", "")]
public static void A(EditPolygonImageView this_0, IList _horizontalLines, IList _verticalLines)
Parameters
this_0
EditPolygonImageView
_horizontalLines
IList
_verticalLines
IList
DispatchDraw(Canvas)
[Register("dispatchDraw", "(Landroid/graphics/Canvas;)V", "")]
public void DispatchDraw(Canvas canvas)
Parameters
canvas
Canvas
OnAttachedToWindow()
[Register("onAttachedToWindow", "()V", "")]
public void OnAttachedToWindow()
OnDetachedFromWindow()
[Register("onDetachedFromWindow", "()V", "")]
public void OnDetachedFromWindow()
OnMeasure(int, int)
[Register("onMeasure", "(II)V", "")]
public void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
Parameters
widthMeasureSpec
int
heightMeasureSpec
int
RotateClockwise()
[Register("rotateClockwise", "()V", "")]
public void RotateClockwise()
RotateCounterClockwise()
[Register("rotateCounterClockwise", "()V", "")]
public void RotateCounterClockwise()
SetAnchorPointsColor(int)
[Register("setAnchorPointsColor", "(I)V", "")]
public void SetAnchorPointsColor(int color)
Parameters
color
int
SetEdgeColor(int)
[Register("setEdgeColor", "(I)V", "")]
public void SetEdgeColor(int color)
Parameters
color
int
SetEdgeColorOnLine(int)
[Register("setEdgeColorOnLine", "(I)V", "")]
public void SetEdgeColorOnLine(int color)
Parameters
color
int
SetEdgeWidth(float)
[Register("setEdgeWidth", "(F)V", "")]
public void SetEdgeWidth(float width)
Parameters
width
float
SetEditPolygonAnimationEndListener(IEditPolygonAnimationEndListener)
[Register("setEditPolygonAnimationEndListener", "(Lio/scanbot/sdk/ui/EditPolygonImageView$EditPolygonAnimationEndListener;)V", "")]
public void SetEditPolygonAnimationEndListener(EditPolygonImageView.IEditPolygonAnimationEndListener editPolygonAnimationEndListener)
Parameters
editPolygonAnimationEndListener
EditPolygonImageView.IEditPolygonAnimationEndListener
SetEditPolygonDragListener(IEditPolygonDragListener)
[Register("setEditPolygonDragListener", "(Lio/scanbot/sdk/ui/EditPolygonImageView$EditPolygonDragListener;)V", "")]
public void SetEditPolygonDragListener(EditPolygonImageView.IEditPolygonDragListener editPolygonDragListener)
Parameters
editPolygonDragListener
EditPolygonImageView.IEditPolygonDragListener
SetEditPolygonDragStateListener(IEditPolygonDragStateListener)
[Register("setEditPolygonDragStateListener", "(Lio/scanbot/sdk/ui/EditPolygonImageView$EditPolygonDragStateListener;)V", "")]
public void SetEditPolygonDragStateListener(EditPolygonImageView.IEditPolygonDragStateListener editPolygonDragStateListener)
Parameters
editPolygonDragStateListener
EditPolygonImageView.IEditPolygonDragStateListener
SetImageBitmap(Bitmap)
[Register("setImageBitmap", "(Landroid/graphics/Bitmap;)V", "")]
public void SetImageBitmap(Bitmap bitmap)
Parameters
bitmap
Bitmap
SetLines(IList<Line2D>, IList<Line2D>)
[Register("setLines", "(Ljava/util/List;Ljava/util/List;)V", "")]
public void SetLines(IList<Line2D> horizontalLines, IList<Line2D> verticalLines)
Parameters
horizontalLines
IList<Line2D>
verticalLines
IList<Line2D>
SetMagnifier(MagnifierView)
[Register("setMagnifier", "(Lio/scanbot/sdk/ui/MagnifierView;)V", "")]
public void SetMagnifier(MagnifierView magnifier)
Parameters
magnifier
MagnifierView
SetRotationAnimated(float)
[Register("setRotationAnimated", "(F)V", "")]
public void SetRotationAnimated(float rotation)
Parameters
rotation
float
Events
EditPolygonAnimationEnd
public event EventHandler EditPolygonAnimationEnd
Event Type
- EventHandler
EditPolygonDrag
public event EventHandler<EditPolygonImageView.EditPolygonDragEventArgs> EditPolygonDrag
Event Type
- EventHandler<EditPolygonImageView.EditPolygonDragEventArgs>
EditPolygonDragState
public event EventHandler<EditPolygonImageView.EditPolygonDragStateEventArgs> EditPolygonDragState
Event Type
- EventHandler<EditPolygonImageView.EditPolygonDragStateEventArgs>