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
Properties
Animators
public IList<SpringAnimation> Animators { get; set; }
Property Value
- IList<SpringAnimation>
AutoSnapProgressEnabled
public bool AutoSnapProgressEnabled { get; set; }
Property Value
- bool
Dka
[Register("dka")]
public CameraModule Dka { get; set; }
Property Value
- CameraModule
Dkc
[Register("dkc")]
public Matrix Dkc { get; set; }
Property Value
- Matrix
Dkd
[Register("dkd")]
public bool Dkd { get; set; }
Property Value
- bool
Dke
[Register("dke")]
public Paint Dke { get; set; }
Property Value
- Paint
Dkf
[Register("dkf")]
public bool Dkf { get; set; }
Property Value
- bool
Dkg
[Register("dkg")]
public IList<float> Dkg { get; set; }
Property Value
- IList<float>
Dkh
[Register("dkh")]
public Paint Dkh { get; set; }
Property Value
- Paint
Dkj
[Register("dkj")]
public Paint Dkj { get; set; }
Property Value
- Paint
Dkl
[Register("dkl")]
public Path Dkl { get; set; }
Property Value
- Path
Dkm
[Register("dkm")]
public Paint Dkm { get; set; }
Property Value
- Paint
Dkn
[Register("dkn")]
public PolygonViewHelper Dkn { get; set; }
Property Value
- PolygonViewHelper
Dko
[Register("dko")]
public Paint Dko { get; set; }
Property Value
- Paint
Dkp
[Register("dkp")]
public Paint Dkp { get; set; }
Property Value
- Paint
Dkq
[Register("dkq")]
public ValueAnimator Dkq { get; set; }
Property Value
- ValueAnimator
Dkr
[Register("dkr")]
public bool Dkr { get; set; }
Property Value
- bool
Dks
[Register("dks")]
public IList<float> Dks { get; set; }
Property Value
- IList<float>
Dkt
[Register("dkt")]
public bool Dkt { get; set; }
Property Value
- bool
Dku
[Register("dku")]
public bool Dku { get; set; }
Property Value
- bool
Dkv
[Register("dkv")]
public bool Dkv { get; set; }
Property Value
- bool
Dkva
[Register("dkva")]
public bool Dkva { get; set; }
Property Value
- bool
Dkvd
[Register("dkvd")]
public ValueAnimator Dkvd { get; set; }
Property Value
- ValueAnimator
Dkw
[Register("dkw")]
public Path Dkw { get; set; }
Property Value
- Path
Dkx
[Register("dkx")]
public CornerPathEffect Dkx { get; set; }
Property Value
- CornerPathEffect
Dky
[Register("dky")]
public bool Dky { get; set; }
Property Value
- bool
Dkz
[Register("dkz")]
public Paint Dkz { get; set; }
Property Value
- Paint
Dkzh
[Register("dkzh")]
public IList Dkzh { get; set; }
Property Value
- IList
Dkzs
[Register("dkzs")]
public ValueAnimator Dkzs { get; set; }
Property Value
- ValueAnimator
DocumentScannerResultHandler
[Register("documentScannerResultHandler")]
public DocumentScannerFrameHandler.IResultHandler DocumentScannerResultHandler { get; set; }
Property Value
- DocumentScannerFrameHandler.IResultHandler
Polygon
[Register("polygon")]
protected IList Polygon { get; set; }
Property Value
- IList
Methods
Dkb(PolygonView, ValueAnimator)
[Register("dkb", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Dkb(PolygonView p0, ValueAnimator p1)
Parameters
p0 PolygonView
p1 ValueAnimator
Dki()
[Register("dki", "()V", "")]
public void Dki()
Dki(Context, IAttributeSet)
[Register("dki", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public void Dki(Context p0, IAttributeSet p1)
Parameters
p0 Context
p1 IAttributeSet
Dki(PolygonView)
[Register("dki", "(Lio/scanbot/sdk/ui/PolygonView;)V", "")]
public static void Dki(PolygonView p0)
Parameters
p0 PolygonView
Dki(PolygonView, ValueAnimator)
[Register("dki", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Dki(PolygonView p0, ValueAnimator p1)
Parameters
p0 PolygonView
p1 ValueAnimator
Dki(PolygonView, IResult, Frame)
[Register("dki", "(Lio/scanbot/sdk/ui/PolygonView;Lio/scanbot/common/Result;Lio/scanbot/sdk/camera/FrameHandler$Frame;)Z", "")]
public static bool Dki(PolygonView p0, IResult p1, FrameHandler.Frame p2)
Parameters
p0 PolygonView
p1 IResult
p2 FrameHandler.Frame
Returns
- bool
Dki(PolygonView, DocumentDetectionResult, Frame)
[Register("dki", "(Lio/scanbot/sdk/ui/PolygonView;Lio/scanbot/sdk/documentscanner/DocumentDetectionResult;Lio/scanbot/sdk/camera/FrameHandler$Frame;)V", "")]
public static void Dki(PolygonView p0, DocumentDetectionResult p1, FrameHandler.Frame p2)
Parameters
p0 PolygonView
p1 DocumentDetectionResult
p2 FrameHandler.Frame
Dki(PolygonView, long)
[Register("dki", "(Lio/scanbot/sdk/ui/PolygonView;J)V", "")]
public static void Dki(PolygonView p0, long p1)
Parameters
p0 PolygonView
p1 long
Dki(bool)
[Register("dki", "(Z)V", "")]
public void Dki(bool p0)
Parameters
p0 bool
Dki(float[], int)
[Register("dki", "([FI)V", "")]
public void Dki(float[] p0, int p1)
Parameters
p0 float[]
p1 int
Dkk(PolygonView, ValueAnimator)
[Register("dkk", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Dkk(PolygonView p0, ValueAnimator p1)
Parameters
p0 PolygonView
p1 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(DocumentDetectionStatus, int, IList<PointF>)
[Register("updatePolygon", "(Lio/scanbot/sdk/documentscanner/DocumentDetectionStatus;ILjava/util/List;)V", "")]
public void UpdatePolygon(DocumentDetectionStatus detectionStatus, int frameOrientation, IList<PointF> polygon)
Parameters
detectionStatus DocumentDetectionStatus
frameOrientation int
polygon IList<PointF>