Class PolygonView
- Namespace
- IO.Scanbot.Sdk.UI
- Assembly
- DocumentSDK.NET.Droid.dll
public class PolygonView : View, IAutoSnappingController.IAutoSnappingStateListener, IBasePolygonView, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
PolygonView
- Implements
-
Constructors
PolygonView(Context)
public PolygonView(Context context)
Parameters
context
Context
PolygonView(Context, IAttributeSet)
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
J
public const double J = 0.2
Field Value
- double
K
public const float K = 1000
Field Value
- float
L
Field Value
- int
M
public const int M = 1000
Field Value
- int
N
public const long N = 3000
Field Value
- long
O
public const int O = 1000
Field Value
- int
P
public const long P = 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
D
public bool D { get; set; }
Property Value
- bool
DocumentScannerResultHandler
public DocumentScannerFrameHandler.IResultHandler DocumentScannerResultHandler { get; set; }
Property Value
- DocumentScannerFrameHandler.IResultHandler
E
public bool E { get; set; }
Property Value
- bool
F
public bool F { get; set; }
Property Value
- bool
G
public Paint G { get; set; }
Property Value
- Paint
H
public Paint H { get; set; }
Property Value
- Paint
I
public Paint I { get; set; }
Property Value
- Paint
Polygon
protected IList Polygon { get; set; }
Property Value
- IList
Q
public PolygonViewHelper Q { get; set; }
Property Value
- PolygonViewHelper
R
public DocumentDetectionStatus R { get; set; }
Property Value
- DocumentDetectionStatus
S
public Paint S { get; set; }
Property Value
- Paint
T
public Paint T { get; set; }
Property Value
- Paint
U
public bool U { get; set; }
Property Value
- bool
V
public int V { get; set; }
Property Value
- int
W
public Rect W { get; set; }
Property Value
- Rect
X
public int X { get; set; }
Property Value
- int
Y
public int Y { get; set; }
Property Value
- int
Z
public bool Z { get; set; }
Property Value
- bool
Methods
A(PolygonView)
public static void A(PolygonView this_0)
Parameters
this_0
PolygonView
A(PolygonView, ValueAnimator)
public static void A(PolygonView this_0, ValueAnimator it)
Parameters
this_0
PolygonView
it
ValueAnimator
A(PolygonView, FrameHandlerResult)
public static bool A(PolygonView this_0, FrameHandlerResult result)
Parameters
this_0
PolygonView
result
FrameHandlerResult
Returns
- bool
A(PolygonView, DetectedFrame)
public static void A(PolygonView this_0, DocumentScannerFrameHandler.DetectedFrame _detectedFrame)
Parameters
this_0
PolygonView
_detectedFrame
DocumentScannerFrameHandler.DetectedFrame
A(PolygonView, long)
public static void A(PolygonView this_0, long _ms)
Parameters
this_0
PolygonView
_ms
long
B(PolygonView, ValueAnimator)
public static void B(PolygonView this_0, ValueAnimator it)
Parameters
this_0
PolygonView
it
ValueAnimator
C(PolygonView, ValueAnimator)
public static void C(PolygonView this_0, ValueAnimator it)
Parameters
this_0
PolygonView
it
ValueAnimator
OnAttachedToWindow()
public virtual void OnAttachedToWindow()
OnAutoSnappingCanceled()
public virtual void OnAutoSnappingCanceled()
OnAutoSnappingFinished()
public virtual void OnAutoSnappingFinished()
OnAutoSnappingIn(long)
public virtual void OnAutoSnappingIn(long ms)
Parameters
ms
long
OnDetachedFromWindow()
public virtual void OnDetachedFromWindow()
OnDraw(Canvas)
public virtual void OnDraw(Canvas canvas)
Parameters
canvas
Canvas
OnSizeChanged(int, int, int, int)
public virtual void OnSizeChanged(int w, int h, int oldw, int oldh)
Parameters
w
int
h
int
oldw
int
oldh
int
SetAutoSnappingProgressStrokeColor(int)
public void SetAutoSnappingProgressStrokeColor(int strokeColor)
Parameters
strokeColor
int
SetAutoSnappingProgressStrokeWidth(int)
public void SetAutoSnappingProgressStrokeWidth(int strokeWidth)
Parameters
strokeWidth
int
SetCornerRadius(int)
public void SetCornerRadius(int cornerRadius)
Parameters
cornerRadius
int
SetDrawShadows(bool)
public void SetDrawShadows(bool drawShadows)
Parameters
drawShadows
bool
SetFillColor(int)
public void SetFillColor(int fillColor)
Parameters
fillColor
int
SetFillColorOK(int)
public void SetFillColorOK(int fillColorOK)
Parameters
fillColorOK
int
SetStrokeColor(int)
public void SetStrokeColor(int strokeColor)
Parameters
strokeColor
int
SetStrokeColorOK(int)
public void SetStrokeColorOK(int strokeColorOK)
Parameters
strokeColorOK
int
SetStrokeWidth(int)
public void SetStrokeWidth(int strokeWidth)
Parameters
strokeWidth
int
UpdatePolygon(DocumentDetectionStatus, int, IList<PointF>)
public void UpdatePolygon(DocumentDetectionStatus detectionStatus, int frameOrientation, IList<PointF> polygon)
Parameters
detectionStatus
DocumentDetectionStatus
frameOrientation
int
polygon
IList<PointF>