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

Dwa

[Register("dwa")]
public CornerPathEffect Dwa { get; set; }

Property Value

CornerPathEffect

Dwb

[Register("dwb")]
public int Dwb { get; set; }

Property Value

int

Dwc

[Register("dwc")]
public FinderCoreMath Dwc { get; set; }

Property Value

FinderCoreMath

Dwd

[Register("dwd")]
public Paint Dwd { get; set; }

Property Value

Paint

Dwf

[Register("dwf")]
public ValueAnimator Dwf { get; set; }

Property Value

ValueAnimator

Dwi

[Register("dwi")]
public int Dwi { get; set; }

Property Value

int

Dwl

[Register("dwl")]
public IFinderMathRecalculateDelegate Dwl { get; set; }

Property Value

IFinderMathRecalculateDelegate

Dwm

[Register("dwm")]
public View Dwm { get; set; }

Property Value

View

Dwo

[Register("dwo")]
public bool Dwo { get; set; }

Property Value

bool

Dwq

[Register("dwq")]
public int Dwq { get; set; }

Property Value

int

Dwr

[Register("dwr")]
public int Dwr { get; set; }

Property Value

int

Dwt

[Register("dwt")]
public int Dwt { get; set; }

Property Value

int

Dwu

[Register("dwu")]
public View Dwu { get; set; }

Property Value

View

Dww

[Register("dww")]
public float Dww { get; set; }

Property Value

float

Dwy

[Register("dwy")]
public View Dwy { get; set; }

Property Value

View

Dwz

[Register("dwz")]
public ValueAnimator Dwz { get; set; }

Property Value

ValueAnimator

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

HorizontalAlignment

public IFinderAlignment.IHorizontal HorizontalAlignment { get; set; }

Property Value

IFinderAlignment.IHorizontal

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

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

VerticalAlignment

public IFinderAlignment.IVertical VerticalAlignment { get; set; }

Property Value

IFinderAlignment.IVertical

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

Dwg(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwh(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwj(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwk()

[Register("dwk", "()V", "")]
public void Dwk()

Dwk(View, View, View)

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

Parameters

p0 View
p1 View
p2 View

Dwk(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwk(FinderOverlayView, ValueAnimator)

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

Parameters

p0 FinderOverlayView
p1 ValueAnimator

Dwk(FinderOverlayView, Insets)

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

Parameters

p0 FinderOverlayView
p1 Insets

Dwk(FinderOverlayView, long)

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

Parameters

p0 FinderOverlayView
p1 long

Dwn(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwn(FinderOverlayView, ValueAnimator)

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

Parameters

p0 FinderOverlayView
p1 ValueAnimator

Dwn(FinderOverlayView, Insets)

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

Parameters

p0 FinderOverlayView
p1 Insets

Dwp(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dws(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwv(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

Dwx(FinderOverlayView)

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

Parameters

p0 FinderOverlayView

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

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