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

Laa

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

Property Value

IList<float>

Lab

[Register("lab")]
public Paint Lab { get; set; }

Property Value

Paint

Lac

[Register("lac")]
public Matrix Lac { get; set; }

Property Value

Matrix

Lad

[Register("lad")]
public Paint Lad { get; set; }

Property Value

Paint

Lae

[Register("lae")]
public bool Lae { get; set; }

Property Value

bool

Laf

[Register("laf")]
public Path Laf { get; set; }

Property Value

Path

Lafg

[Register("lafg")]
public IList Lafg { get; set; }

Property Value

IList

Lag

[Register("lag")]
public Path Lag { get; set; }

Property Value

Path

Lah

[Register("lah")]
public bool Lah { get; set; }

Property Value

bool

Lahg

[Register("lahg")]
public ValueAnimator Lahg { get; set; }

Property Value

ValueAnimator

Lai

[Register("lai")]
public bool Lai { get; set; }

Property Value

bool

Laig

[Register("laig")]
public bool Laig { get; set; }

Property Value

bool

Laj

[Register("laj")]
public Paint Laj { get; set; }

Property Value

Paint

Lak

[Register("lak")]
public Paint Lak { get; set; }

Property Value

Paint

Lal

[Register("lal")]
public bool Lal { get; set; }

Property Value

bool

Lals

[Register("lals")]
public ValueAnimator Lals { get; set; }

Property Value

ValueAnimator

Lan

[Register("lan")]
public bool Lan { get; set; }

Property Value

bool

Lap

[Register("lap")]
public Paint Lap { get; set; }

Property Value

Paint

Laq

[Register("laq")]
public bool Laq { get; set; }

Property Value

bool

Lar

[Register("lar")]
public Paint Lar { get; set; }

Property Value

Paint

Lat

[Register("lat")]
public CameraModule Lat { get; set; }

Property Value

CameraModule

Lau

[Register("lau")]
public PolygonViewHelper Lau { get; set; }

Property Value

PolygonViewHelper

Lav

[Register("lav")]
public Paint Lav { get; set; }

Property Value

Paint

Law

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

Property Value

IList<float>

Lax

[Register("lax")]
public bool Lax { get; set; }

Property Value

bool

Lay

[Register("lay")]
public CornerPathEffect Lay { get; set; }

Property Value

CornerPathEffect

Laz

[Register("laz")]
public ValueAnimator Laz { get; set; }

Property Value

ValueAnimator

Polygon

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

Property Value

IList

Methods

Lam(PolygonView, ValueAnimator)

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

Parameters

p0 PolygonView
p1 ValueAnimator

Lao()

[Register("lao", "()V", "")]
public void Lao()

Lao(Context, IAttributeSet)

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

Parameters

p0 Context
p1 IAttributeSet

Lao(PolygonView)

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

Parameters

p0 PolygonView

Lao(PolygonView, ValueAnimator)

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

Parameters

p0 PolygonView
p1 ValueAnimator

Lao(PolygonView, IResult, Frame)

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

Parameters

p0 PolygonView
p1 IResult
p2 FrameHandler.Frame

Returns

bool

Lao(PolygonView, DocumentDetectionResult, Frame)

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

Parameters

p0 PolygonView
p1 DocumentDetectionResult
p2 FrameHandler.Frame

Lao(PolygonView, long)

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

Parameters

p0 PolygonView
p1 long

Lao(bool)

[Register("lao", "(Z)V", "")]
public void Lao(bool p0)

Parameters

p0 bool

Lao(float[], int)

[Register("lao", "([FI)V", "")]
public void Lao(float[] p0, int p1)

Parameters

p0 float[]
p1 int

Las(PolygonView, ValueAnimator)

[Register("las", "(Lio/scanbot/sdk/ui/PolygonView;Landroid/animation/ValueAnimator;)V", "")]
public static void Las(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>