Class FinderOverlayView
[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
contextContextattrIAttributeSet
FinderOverlayView(nint, JniHandleOwnership)
protected FinderOverlayView(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReferenceninttransferJniHandleOwnership
Properties
AutoSnapProgressEnabled
public bool AutoSnapProgressEnabled { get; set; }
Property Value
BottomPlaceholderView
public View BottomPlaceholderView { get; set; }
Property Value
FinderCoreMath
public virtual IFinderCoreMath FinderCoreMath { get; }
Property Value
FinderInsets
public Insets FinderInsets { get; set; }
Property Value
FinderMath
public virtual FinderCoreMath FinderMath { get; }
Property Value
FinderPlaceholderView
public View FinderPlaceholderView { get; set; }
Property Value
FixedFinderHeightInPx
public int FixedFinderHeightInPx { get; set; }
Property Value
FixedFinderWidthInPx
public int FixedFinderWidthInPx { get; set; }
Property Value
OnRecalculateDelegate
public virtual IFinderMathRecalculateDelegate OnRecalculateDelegate { get; }
Property Value
OverlayBottomPadding
public int OverlayBottomPadding { get; set; }
Property Value
OverlayLeftPadding
public int OverlayLeftPadding { get; set; }
Property Value
OverlayRightPadding
public int OverlayRightPadding { get; set; }
Property Value
OverlayTopPadding
public int OverlayTopPadding { get; set; }
Property Value
Qna
[Register("qna")]
public CornerPathEffect Qna { get; set; }
Property Value
Qnb
[Register("qnb")]
public int Qnb { get; set; }
Property Value
Qnc
[Register("qnc")]
public RectF Qnc { get; set; }
Property Value
Qne
[Register("qne")]
public int Qne { get; set; }
Property Value
Qnf
[Register("qnf")]
public ValueAnimator Qnf { get; set; }
Property Value
Qnh
[Register("qnh")]
public bool Qnh { get; set; }
Property Value
Qni
[Register("qni")]
public int Qni { get; set; }
Property Value
Qnj
[Register("qnj")]
public ValueAnimator Qnj { get; set; }
Property Value
Qnk
[Register("qnk")]
public View Qnk { get; set; }
Property Value
Qnl
[Register("qnl")]
public IFinderMathRecalculateDelegate Qnl { get; set; }
Property Value
Qnm
[Register("qnm")]
public float Qnm { get; set; }
Property Value
Qnn
[Register("qnn")]
public Paint Qnn { get; set; }
Property Value
Qno
[Register("qno")]
public View Qno { get; set; }
Property Value
Qnq
[Register("qnq")]
public Path Qnq { get; set; }
Property Value
Qns
[Register("qns")]
public View Qns { get; set; }
Property Value
Qnt
[Register("qnt")]
public FinderCoreMath Qnt { get; set; }
Property Value
Qnu
[Register("qnu")]
public int Qnu { get; set; }
Property Value
Qnz
[Register("qnz")]
public int Qnz { get; set; }
Property Value
RequiredAspectRatios
public IList<AspectRatio> RequiredAspectRatios { get; set; }
Property Value
SafeAreaInsets
public Insets SafeAreaInsets { get; set; }
Property Value
StrokeWidth
public float StrokeWidth { get; set; }
Property Value
SumInsets
public Insets SumInsets { get; }
Property Value
TargetMaxHeight
public virtual int TargetMaxHeight { get; set; }
Property Value
TargetMaxWidth
public virtual int TargetMaxWidth { get; set; }
Property Value
TopPlaceholderView
public View TopPlaceholderView { get; set; }
Property Value
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
canvasCanvas
InitFinderMathFromXml(TypedArray, FinderCoreMath)
[Register("initFinderMathFromXml", "(Landroid/content/res/TypedArray;Lio/scanbot/sdk/ui/camera/FinderCoreMath;)V", "")]
public void InitFinderMathFromXml(TypedArray typedArray, FinderCoreMath finderMath)
Parameters
typedArrayTypedArrayfinderMathFinderCoreMath
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
mslong
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
changedboolThis is a new size or position for this view
leftintLeft position, relative to parent
topintTop position, relative to parent
rightintRight position, relative to parent
bottomintBottom position, relative to parent
Remarks
Portions of this page are modifications based on work created and shared by the
OnMeasure(int, int)
[Register("onMeasure", "(II)V", "GetOnMeasure_IIHandler")]
public virtual void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
Parameters
OnSizeChanged(int, int, int, int)
[Register("onSizeChanged", "(IIII)V", "GetOnSizeChanged_IIIIHandler")]
public virtual void OnSizeChanged(int w, int h, int oldw, int oldh)
Parameters
Qnd(FinderOverlayView)
[Register("qnd", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnd(FinderOverlayView p0)
Parameters
Qng(FinderOverlayView)
[Register("qng", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qng(FinderOverlayView p0)
Parameters
Qnp(FinderOverlayView)
[Register("qnp", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnp(FinderOverlayView p0)
Parameters
Qnr(FinderOverlayView)
[Register("qnr", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnr(FinderOverlayView p0)
Parameters
Qnv(FinderOverlayView)
[Register("qnv", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnv(FinderOverlayView p0)
Parameters
Qnw(FinderOverlayView)
[Register("qnw", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qnw(FinderOverlayView p0)
Parameters
Qnw(FinderOverlayView, ValueAnimator)
[Register("qnw", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void Qnw(FinderOverlayView p0, ValueAnimator p1)
Parameters
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
p0FinderOverlayViewp1Insets
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
Qny(FinderOverlayView)
[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Qny(FinderOverlayView p0)
Parameters
Qny(FinderOverlayView, ValueAnimator)
[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void Qny(FinderOverlayView p0, ValueAnimator p1)
Parameters
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
p0FinderOverlayViewp1Insets
Qny(FinderOverlayView, long)
[Register("qny", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;J)V", "")]
public static void Qny(FinderOverlayView p0, long p1)
Parameters
p0FinderOverlayViewp1long
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
strokeColorint
SetAutoSnappingProgressStrokeWidth(int)
[Register("setAutoSnappingProgressStrokeWidth", "(I)V", "")]
public void SetAutoSnappingProgressStrokeWidth(int strokeWidth)
Parameters
strokeWidthint
SetBottomPlaceholder(View)
[Register("setBottomPlaceholder", "(Landroid/view/View;)V", "")]
public void SetBottomPlaceholder(View view)
Parameters
viewView
SetCornerRadius(int)
[Register("setCornerRadius", "(I)V", "")]
public void SetCornerRadius(int radius)
Parameters
radiusint
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
SetFinderMinPadding(int)
[Register("setFinderMinPadding", "(I)V", "")]
public void SetFinderMinPadding(int padding)
Parameters
paddingint
SetFinderPlaceholder(View)
[Register("setFinderPlaceholder", "(Landroid/view/View;)V", "")]
public void SetFinderPlaceholder(View view)
Parameters
viewView
SetFixedFinderHeight(int)
[Register("setFixedFinderHeight", "(I)V", "")]
public void SetFixedFinderHeight(int fixedFinderHeight)
Parameters
fixedFinderHeightint
SetFixedFinderWidth(int)
[Register("setFixedFinderWidth", "(I)V", "")]
public void SetFixedFinderWidth(int fixedFinderWidth)
Parameters
fixedFinderWidthint
SetOverlayColor(int)
[Register("setOverlayColor", "(I)V", "")]
public void SetOverlayColor(int overlayColor)
Parameters
overlayColorint
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
SetStrokeColor(int)
[Register("setStrokeColor", "(I)V", "")]
public void SetStrokeColor(int strokeColor)
Parameters
strokeColorint
SetStrokeWidth(int)
[Register("setStrokeWidth", "(I)V", "")]
public void SetStrokeWidth(int strokeWidth)
Parameters
strokeWidthint
SetTopPlaceholder(View)
[Register("setTopPlaceholder", "(Landroid/view/View;)V", "")]
public void SetTopPlaceholder(View view)
Parameters
viewView