Class PolygonView
- Namespace
- IO.Scanbot.Sdk.UI
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/PolygonView", DoNotGenerateAcw = true)]
public class PolygonView : View, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IAutoSnappingController.IAutoSnappingStateListener, IBasePolygonView, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
PolygonView
- Implements
-
- Inherited Members
-
Constructors
PolygonView(Context)
[Register(".ctor", "(Landroid/content/Context;)V", "")]
public PolygonView(Context context)
Parameters
context
Context
PolygonView(Context, IAttributeSet)
[Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public PolygonView(Context context, IAttributeSet attrs)
Parameters
context
Context
attrs
IAttributeSet
PolygonView(nint, JniHandleOwnership)
protected PolygonView(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReference
nint
transfer
JniHandleOwnership
Fields
D
[Register("D")]
public const int D = 1000
Field Value
- int
E
[Register("E")]
public const long E = 3000
Field Value
- long
F
[Register("F")]
public const int F = 1000
Field Value
- int
G
[Register("G")]
public const long G = 1000
Field Value
- long
Properties
Animators
public IList<SpringAnimation> Animators { get; set; }
Property Value
- IList<SpringAnimation>
AutoSnapProgressEnabled
public bool AutoSnapProgressEnabled { get; set; }
Property Value
- bool
ContourDetectorResultHandler
[Register("contourDetectorResultHandler")]
public ContourDetectorFrameHandler.IResultHandler ContourDetectorResultHandler { get; set; }
Property Value
- ContourDetectorFrameHandler.IResultHandler
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 Paint J { get; set; }
Property Value
- Paint
K
[Register("k")]
public Paint K { get; set; }
Property Value
- Paint
L
[Register("l")]
public CornerPathEffect L { get; set; }
Property Value
- CornerPathEffect
M
[Register("m")]
public bool M { get; set; }
Property Value
- bool
N
[Register("n")]
public bool N { get; set; }
Property Value
- bool
O
[Register("o")]
public Path O { get; set; }
Property Value
- Path
P
[Register("p")]
public Path P { get; set; }
Property Value
- Path
Polygon
[Register("polygon")]
protected IList Polygon { get; set; }
Property Value
- IList
Q
[Register("q")]
public PolygonViewHelper Q { get; set; }
Property Value
- PolygonViewHelper
R
[Register("r")]
public DetectionStatus R { get; set; }
Property Value
- DetectionStatus
S
[Register("s")]
public Paint S { get; set; }
Property Value
- Paint
T
[Register("t")]
public Paint T { get; set; }
Property Value
- Paint
U
[Register("u")]
public bool U { get; set; }
Property Value
- bool
V
[Register("v")]
public ValueAnimator V { get; set; }
Property Value
- ValueAnimator
W
[Register("w")]
public bool W { get; set; }
Property Value
- bool
X
[Register("x")]
public ValueAnimator X { get; set; }
Property Value
- ValueAnimator
Y
[Register("y")]
public ValueAnimator Y { get; set; }
Property Value
- ValueAnimator
Z
[Register("z")]
public IList Z { get; set; }
Property Value
- IList
Methods
A(PolygonView)
[Register("a", "(Lio/scanbot/sdk/ui/PolygonView;)V", "")]
public static void A(PolygonView this_0)
Parameters
this_0
PolygonView
A(PolygonView, ValueAnimator)
[Register("a", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void A(PolygonView this_0, ValueAnimator it)
Parameters
this_0
PolygonView
it
ValueAnimator
A(PolygonView, FrameHandlerResult)
[Register("a", "(Lio/scanbot/sdk/ui/PolygonView;Lio/scanbot/sdk/camera/FrameHandlerResult;)Z", "")]
public static bool A(PolygonView this_0, FrameHandlerResult result)
Parameters
this_0
PolygonView
result
FrameHandlerResult
Returns
- bool
A(PolygonView, DetectedFrame)
[Register("a", "(Lio/scanbot/sdk/ui/PolygonView;Lio/scanbot/sdk/contourdetector/ContourDetectorFrameHandler$DetectedFrame;)V", "")]
public static void A(PolygonView this_0, ContourDetectorFrameHandler.DetectedFrame _detectedFrame)
Parameters
this_0
PolygonView
_detectedFrame
ContourDetectorFrameHandler.DetectedFrame
A(PolygonView, long)
[Register("a", "(Lio/scanbot/sdk/ui/PolygonView;J)V", "")]
public static void A(PolygonView this_0, long _ms)
Parameters
this_0
PolygonView
_ms
long
B(PolygonView, ValueAnimator)
[Register("b", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void B(PolygonView this_0, ValueAnimator it)
Parameters
this_0
PolygonView
it
ValueAnimator
C(PolygonView, ValueAnimator)
[Register("c", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void C(PolygonView this_0, ValueAnimator it)
Parameters
this_0
PolygonView
it
ValueAnimator
OnAttachedToWindow()
[Register("onAttachedToWindow", "()V", "GetOnAttachedToWindowHandler")]
public virtual void OnAttachedToWindow()
OnAutoSnappingCanceled()
[Register("onAutoSnappingCanceled", "()V", "GetOnAutoSnappingCanceledHandler")]
public virtual void OnAutoSnappingCanceled()
OnAutoSnappingFinished()
[Register("onAutoSnappingFinished", "()V", "GetOnAutoSnappingFinishedHandler")]
public virtual void OnAutoSnappingFinished()
OnAutoSnappingIn(long)
[Register("onAutoSnappingIn", "(J)V", "GetOnAutoSnappingIn_JHandler")]
public virtual void OnAutoSnappingIn(long ms)
Parameters
ms
long
OnDetachedFromWindow()
[Register("onDetachedFromWindow", "()V", "GetOnDetachedFromWindowHandler")]
public virtual void OnDetachedFromWindow()
OnDraw(Canvas)
[Register("onDraw", "(Landroid/graphics/Canvas;)V", "GetOnDraw_Landroid_graphics_Canvas_Handler")]
public virtual void OnDraw(Canvas canvas)
Parameters
canvas
Canvas
OnSizeChanged(int, int, int, int)
[Register("onSizeChanged", "(IIII)V", "GetOnSizeChanged_IIIIHandler")]
public virtual void OnSizeChanged(int w, int h, int oldw, int oldh)
Parameters
w
int
h
int
oldw
int
oldh
int
SetAutoSnappingProgressStrokeColor(int)
[Register("setAutoSnappingProgressStrokeColor", "(I)V", "")]
public void SetAutoSnappingProgressStrokeColor(int strokeColor)
Parameters
strokeColor
int
SetAutoSnappingProgressStrokeWidth(int)
[Register("setAutoSnappingProgressStrokeWidth", "(I)V", "")]
public void SetAutoSnappingProgressStrokeWidth(int strokeWidth)
Parameters
strokeWidth
int
SetCornerRadius(int)
[Register("setCornerRadius", "(I)V", "")]
public void SetCornerRadius(int cornerRadius)
Parameters
cornerRadius
int
SetDrawShadows(bool)
[Register("setDrawShadows", "(Z)V", "")]
public void SetDrawShadows(bool drawShadows)
Parameters
drawShadows
bool
SetFillColor(int)
[Register("setFillColor", "(I)V", "")]
public void SetFillColor(int fillColor)
Parameters
fillColor
int
SetFillColorOK(int)
[Register("setFillColorOK", "(I)V", "")]
public void SetFillColorOK(int fillColorOK)
Parameters
fillColorOK
int
SetStrokeColor(int)
[Register("setStrokeColor", "(I)V", "")]
public void SetStrokeColor(int strokeColor)
Parameters
strokeColor
int
SetStrokeColorOK(int)
[Register("setStrokeColorOK", "(I)V", "")]
public void SetStrokeColorOK(int strokeColorOK)
Parameters
strokeColorOK
int
SetStrokeWidth(int)
[Register("setStrokeWidth", "(I)V", "")]
public void SetStrokeWidth(int strokeWidth)
Parameters
strokeWidth
int
UpdatePolygon(DetectionStatus, int, IList<PointF>)
[Register("updatePolygon", "(Lio/scanbot/sdk/core/contourdetector/DetectionStatus;ILjava/util/List;)V", "")]
public void UpdatePolygon(DetectionStatus detectionStatus, int frameOrientation, IList<PointF> polygon)
Parameters
detectionStatus
DetectionStatus
frameOrientation
int
polygon
IList<PointF>