Table of Contents

Class FinderOverlayView

Namespace
IO.Scanbot.Sdk.UI.Camera
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/camera/FinderOverlayView", DoNotGenerateAcw = true)]
public class FinderOverlayView : FrameLayout, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IViewManager, IViewParent, IFinderView, IAutoSnappingController.IAutoSnappingStateListener, IJavaObject, IJavaPeerable, IDisposable
Inheritance
FinderOverlayView
Implements
Derived
Inherited Members

Constructors

FinderOverlayView(Context, IAttributeSet)

[Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public FinderOverlayView(Context context, IAttributeSet attr)

Parameters

context Context
attr IAttributeSet

FinderOverlayView(nint, JniHandleOwnership)

protected FinderOverlayView(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Properties

AutoSnapProgressEnabled

public bool AutoSnapProgressEnabled { get; set; }

Property Value

bool

BottomPlaceholderView

public View BottomPlaceholderView { get; set; }

Property Value

View

FinderCoreMath

public virtual IFinderCoreMath FinderCoreMath { get; }

Property Value

IFinderCoreMath

FinderInsets

public Insets FinderInsets { get; set; }

Property Value

Insets

FinderMath

public virtual FinderCoreMath FinderMath { get; }

Property Value

FinderCoreMath

FinderPlaceholderView

public View FinderPlaceholderView { get; set; }

Property Value

View

FixedFinderHeightInPx

public int FixedFinderHeightInPx { get; set; }

Property Value

int

FixedFinderWidthInPx

public int FixedFinderWidthInPx { get; set; }

Property Value

int

OnRecalculateDelegate

public virtual IFinderMathRecalculateDelegate OnRecalculateDelegate { get; }

Property Value

IFinderMathRecalculateDelegate

OverlayBottomPadding

public int OverlayBottomPadding { get; set; }

Property Value

int

OverlayLeftPadding

public int OverlayLeftPadding { get; set; }

Property Value

int

OverlayRightPadding

public int OverlayRightPadding { get; set; }

Property Value

int

OverlayTopPadding

public int OverlayTopPadding { get; set; }

Property Value

int

Qna

[Register("qna")]
public CornerPathEffect Qna { get; set; }

Property Value

CornerPathEffect

Qnb

[Register("qnb")]
public int Qnb { get; set; }

Property Value

int

Qnc

[Register("qnc")]
public RectF Qnc { get; set; }

Property Value

RectF

Qne

[Register("qne")]
public int Qne { get; set; }

Property Value

int

Qnf

[Register("qnf")]
public ValueAnimator Qnf { get; set; }

Property Value

ValueAnimator

Qnh

[Register("qnh")]
public bool Qnh { get; set; }

Property Value

bool

Qni

[Register("qni")]
public int Qni { get; set; }

Property Value

int

Qnj

[Register("qnj")]
public ValueAnimator Qnj { get; set; }

Property Value

ValueAnimator

Qnk

[Register("qnk")]
public View Qnk { get; set; }

Property Value

View

Qnl

[Register("qnl")]
public IFinderMathRecalculateDelegate Qnl { get; set; }

Property Value

IFinderMathRecalculateDelegate

Qnm

[Register("qnm")]
public float Qnm { get; set; }

Property Value

float

Qnn

[Register("qnn")]
public Paint Qnn { get; set; }

Property Value

Paint

Qno

[Register("qno")]
public View Qno { get; set; }

Property Value

View

Qnq

[Register("qnq")]
public Path Qnq { get; set; }

Property Value

Path

Qns

[Register("qns")]
public View Qns { get; set; }

Property Value

View

Qnt

[Register("qnt")]
public FinderCoreMath Qnt { get; set; }

Property Value

FinderCoreMath

Qnu

[Register("qnu")]
public int Qnu { get; set; }

Property Value

int

Qnz

[Register("qnz")]
public int Qnz { get; set; }

Property Value

int

RequiredAspectRatios

public IList<AspectRatio> RequiredAspectRatios { get; set; }

Property Value

IList<AspectRatio>

SafeAreaInsets

public Insets SafeAreaInsets { get; set; }

Property Value

Insets

StrokeWidth

public float StrokeWidth { get; set; }

Property Value

float

SumInsets

public Insets SumInsets { get; }

Property Value

Insets

TargetMaxHeight

public virtual int TargetMaxHeight { get; set; }

Property Value

int

TargetMaxWidth

public virtual int TargetMaxWidth { get; set; }

Property Value

int

TopPlaceholderView

public View TopPlaceholderView { get; set; }

Property Value

View

Methods

CalculateFinderViewSize()

[Register("calculateFinderViewSize", "()V", "GetCalculateFinderViewSizeHandler")]
public virtual void CalculateFinderViewSize()

DispatchDraw(Canvas)

[Register("dispatchDraw", "(Landroid/graphics/Canvas;)V", "GetDispatchDraw_Landroid_graphics_Canvas_Handler")]
public virtual void DispatchDraw(Canvas canvas)

Parameters

canvas Canvas

InitFinderMathFromXml(TypedArray, FinderCoreMath)

[Register("initFinderMathFromXml", "(Landroid/content/res/TypedArray;Lio/scanbot/sdk/ui/camera/FinderCoreMath;)V", "")]
public void InitFinderMathFromXml(TypedArray typedArray, FinderCoreMath finderMath)

Parameters

typedArray TypedArray
finderMath FinderCoreMath

InitPaintAndRect()

[Register("initPaintAndRect", "()V", "")]
public void InitPaintAndRect()

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

OnLayout(bool, int, int, int, int)

Called from layout when this view should assign a size and position to each of its children.

[Register("onLayout", "(ZIIII)V", "GetOnLayout_ZIIIIHandler")]
protected override void OnLayout(bool changed, int left, int top, int right, int bottom)

Parameters

changed bool

This is a new size or position for this view

left int

Left position, relative to parent

top int

Top position, relative to parent

right int

Right position, relative to parent

bottom int

Bottom position, relative to parent

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

OnMeasure(int, int)

[Register("onMeasure", "(II)V", "GetOnMeasure_IIHandler")]
public virtual void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)

Parameters

widthMeasureSpec int
heightMeasureSpec int

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

Qnd(FinderOverlayView)

[Register("qnd", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnd(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qng(FinderOverlayView)

[Register("qng", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qng(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qnp(FinderOverlayView)

[Register("qnp", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnp(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qnr(FinderOverlayView)

[Register("qnr", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnr(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qnv(FinderOverlayView)

[Register("qnv", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnv(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qnw(FinderOverlayView)

[Register("qnw", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnw(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qnw(FinderOverlayView, ValueAnimator)

[Register("qnw", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void Qnw(FinderOverlayView p0, ValueAnimator p1)

Parameters

p0 FinderOverlayView
p1 ValueAnimator

Qnw(FinderOverlayView, Insets)

[Register("qnw", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroidx/core/graphics/Insets;)V", "")]
public static void Qnw(FinderOverlayView p0, Insets p1)

Parameters

p0 FinderOverlayView
p1 Insets

Qny()

[Register("qny", "()V", "")]
public void Qny()

Qny(View, View, View)

[Register("qny", "(Landroid/view/View;Landroid/view/View;Landroid/view/View;)V", "")]
public void Qny(View p0, View p1, View p2)

Parameters

p0 View
p1 View
p2 View

Qny(FinderOverlayView)

[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qny(FinderOverlayView p0)

Parameters

p0 FinderOverlayView

Qny(FinderOverlayView, ValueAnimator)

[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void Qny(FinderOverlayView p0, ValueAnimator p1)

Parameters

p0 FinderOverlayView
p1 ValueAnimator

Qny(FinderOverlayView, Insets)

[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroidx/core/graphics/Insets;)V", "")]
public static void Qny(FinderOverlayView p0, Insets p1)

Parameters

p0 FinderOverlayView
p1 Insets

Qny(FinderOverlayView, long)

[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;J)V", "")]
public static void Qny(FinderOverlayView p0, long p1)

Parameters

p0 FinderOverlayView
p1 long

Recalculate()

[Register("recalculate", "()V", "")]
public void Recalculate()

ResizeContentViews()

[Register("resizeContentViews", "()V", "GetResizeContentViewsHandler")]
public virtual void ResizeContentViews()

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

SetBottomPlaceholder(View)

[Register("setBottomPlaceholder", "(Landroid/view/View;)V", "")]
public void SetBottomPlaceholder(View view)

Parameters

view View

SetCornerRadius(int)

[Register("setCornerRadius", "(I)V", "")]
public void SetCornerRadius(int radius)

Parameters

radius int

SetFinderInset(Integer, Integer, Integer, Integer)

[Register("setFinderInset", "(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "")]
public void SetFinderInset(Integer left, Integer top, Integer right, Integer bottom)

Parameters

left Integer
top Integer
right Integer
bottom Integer

SetFinderMinPadding(int)

[Register("setFinderMinPadding", "(I)V", "")]
public void SetFinderMinPadding(int padding)

Parameters

padding int

SetFinderPlaceholder(View)

[Register("setFinderPlaceholder", "(Landroid/view/View;)V", "")]
public void SetFinderPlaceholder(View view)

Parameters

view View

SetFixedFinderHeight(int)

[Register("setFixedFinderHeight", "(I)V", "")]
public void SetFixedFinderHeight(int fixedFinderHeight)

Parameters

fixedFinderHeight int

SetFixedFinderWidth(int)

[Register("setFixedFinderWidth", "(I)V", "")]
public void SetFixedFinderWidth(int fixedFinderWidth)

Parameters

fixedFinderWidth int

SetOverlayColor(int)

[Register("setOverlayColor", "(I)V", "")]
public void SetOverlayColor(int overlayColor)

Parameters

overlayColor int

SetSafeAreaInset(Integer, Integer, Integer, Integer)

[Register("setSafeAreaInset", "(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "")]
public void SetSafeAreaInset(Integer left, Integer top, Integer right, Integer bottom)

Parameters

left Integer
top Integer
right Integer
bottom Integer

SetStrokeColor(int)

[Register("setStrokeColor", "(I)V", "")]
public void SetStrokeColor(int strokeColor)

Parameters

strokeColor int

SetStrokeWidth(int)

[Register("setStrokeWidth", "(I)V", "")]
public void SetStrokeWidth(int strokeWidth)

Parameters

strokeWidth int

SetTopPlaceholder(View)

[Register("setTopPlaceholder", "(Landroid/view/View;)V", "")]
public void SetTopPlaceholder(View view)

Parameters

view View