Table of Contents

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

DocumentScannerResultHandler

[Register("documentScannerResultHandler")]
public DocumentScannerFrameHandler.IResultHandler DocumentScannerResultHandler { get; set; }

Property Value

DocumentScannerFrameHandler.IResultHandler

Polygon

[Register("polygon")]
protected IList Polygon { get; set; }

Property Value

IList

Vha

[Register("vha")]
public bool Vha { get; set; }

Property Value

bool

Vhb

[Register("vhb")]
public Matrix Vhb { get; set; }

Property Value

Matrix

Vhc

[Register("vhc")]
public Paint Vhc { get; set; }

Property Value

Paint

Vhd

[Register("vhd")]
public bool Vhd { get; set; }

Property Value

bool

Vhe

[Register("vhe")]
public bool Vhe { get; set; }

Property Value

bool

Vhes

[Register("vhes")]
public IList Vhes { get; set; }

Property Value

IList

Vhf

[Register("vhf")]
public PolygonViewHelper Vhf { get; set; }

Property Value

PolygonViewHelper

Vhg

[Register("vhg")]
public bool Vhg { get; set; }

Property Value

bool

Vhh

[Register("vhh")]
public Path Vhh { get; set; }

Property Value

Path

Vhi

[Register("vhi")]
public IList<float> Vhi { get; set; }

Property Value

IList<float>

Vhj

[Register("vhj")]
public Path Vhj { get; set; }

Property Value

Path

Vhk

[Register("vhk")]
public Paint Vhk { get; set; }

Property Value

Paint

Vhl

[Register("vhl")]
public Paint Vhl { get; set; }

Property Value

Paint

Vhm

[Register("vhm")]
public Paint Vhm { get; set; }

Property Value

Paint

Vhn

[Register("vhn")]
public CornerPathEffect Vhn { get; set; }

Property Value

CornerPathEffect

Vho

[Register("vho")]
public bool Vho { get; set; }

Property Value

bool

Vhp

[Register("vhp")]
public Paint Vhp { get; set; }

Property Value

Paint

Vhq

[Register("vhq")]
public Paint Vhq { get; set; }

Property Value

Paint

Vhr

[Register("vhr")]
public bool Vhr { get; set; }

Property Value

bool

Vhrh

[Register("vhrh")]
public ValueAnimator Vhrh { get; set; }

Property Value

ValueAnimator

Vhs

[Register("vhs")]
public bool Vhs { get; set; }

Property Value

bool

Vht

[Register("vht")]
public Paint Vht { get; set; }

Property Value

Paint

Vhu

[Register("vhu")]
public CameraModule Vhu { get; set; }

Property Value

CameraModule

Vhui

[Register("vhui")]
public ValueAnimator Vhui { get; set; }

Property Value

ValueAnimator

Vhx

[Register("vhx")]
public ValueAnimator Vhx { get; set; }

Property Value

ValueAnimator

Vhz

[Register("vhz")]
public IList<float> Vhz { get; set; }

Property Value

IList<float>

Vhzu

[Register("vhzu")]
public bool Vhzu { get; set; }

Property Value

bool

Methods

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>

Vhv(PolygonView, ValueAnimator)

[Register("vhv", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Vhv(PolygonView p0, ValueAnimator p1)

Parameters

p0 PolygonView
p1 ValueAnimator

Vhw(PolygonView, ValueAnimator)

[Register("vhw", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Vhw(PolygonView p0, ValueAnimator p1)

Parameters

p0 PolygonView
p1 ValueAnimator

Vhy()

[Register("vhy", "()V", "")]
public void Vhy()

Vhy(Context, IAttributeSet)

[Register("vhy", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public void Vhy(Context p0, IAttributeSet p1)

Parameters

p0 Context
p1 IAttributeSet

Vhy(PolygonView)

[Register("vhy", "(Lio/scanbot/sdk/ui/PolygonView;)V", "")]
public static void Vhy(PolygonView p0)

Parameters

p0 PolygonView

Vhy(PolygonView, ValueAnimator)

[Register("vhy", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Vhy(PolygonView p0, ValueAnimator p1)

Parameters

p0 PolygonView
p1 ValueAnimator

Vhy(PolygonView, IResult, Frame)

[Register("vhy", "(Lio/scanbot/sdk/ui/PolygonView;Lio/scanbot/common/Result;Lio/scanbot/sdk/camera/FrameHandler$Frame;)Z", "")]
public static bool Vhy(PolygonView p0, IResult p1, FrameHandler.Frame p2)

Parameters

p0 PolygonView
p1 IResult
p2 FrameHandler.Frame

Returns

bool

Vhy(PolygonView, DocumentDetectionResult, Frame)

[Register("vhy", "(Lio/scanbot/sdk/ui/PolygonView;Lio/scanbot/sdk/documentscanner/DocumentDetectionResult;Lio/scanbot/sdk/camera/FrameHandler$Frame;)V", "")]
public static void Vhy(PolygonView p0, DocumentDetectionResult p1, FrameHandler.Frame p2)

Parameters

p0 PolygonView
p1 DocumentDetectionResult
p2 FrameHandler.Frame

Vhy(PolygonView, long)

[Register("vhy", "(Lio/scanbot/sdk/ui/PolygonView;J)V", "")]
public static void Vhy(PolygonView p0, long p1)

Parameters

p0 PolygonView
p1 long

Vhy(bool)

[Register("vhy", "(Z)V", "")]
public void Vhy(bool p0)

Parameters

p0 bool

Vhy(float[], int)

[Register("vhy", "([FI)V", "")]
public void Vhy(float[] p0, int p1)

Parameters

p0 float[]
p1 int