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
Dwa
[Register("dwa")]
public CornerPathEffect Dwa { get; set; }
Property Value
Dwb
[Register("dwb")]
public int Dwb { get; set; }
Property Value
Dwc
[Register("dwc")]
public FinderCoreMath Dwc { get; set; }
Property Value
Dwd
[Register("dwd")]
public Paint Dwd { get; set; }
Property Value
Dwf
[Register("dwf")]
public ValueAnimator Dwf { get; set; }
Property Value
Dwi
[Register("dwi")]
public int Dwi { get; set; }
Property Value
Dwl
[Register("dwl")]
public IFinderMathRecalculateDelegate Dwl { get; set; }
Property Value
Dwm
[Register("dwm")]
public View Dwm { get; set; }
Property Value
Dwo
[Register("dwo")]
public bool Dwo { get; set; }
Property Value
Dwq
[Register("dwq")]
public int Dwq { get; set; }
Property Value
Dwr
[Register("dwr")]
public int Dwr { get; set; }
Property Value
Dwt
[Register("dwt")]
public int Dwt { get; set; }
Property Value
Dwu
[Register("dwu")]
public View Dwu { get; set; }
Property Value
Dww
[Register("dww")]
public float Dww { get; set; }
Property Value
Dwy
[Register("dwy")]
public View Dwy { get; set; }
Property Value
Dwz
[Register("dwz")]
public ValueAnimator Dwz { 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
HorizontalAlignment
public IFinderAlignment.IHorizontal HorizontalAlignment { 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
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
VerticalAlignment
public IFinderAlignment.IVertical VerticalAlignment { 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
Dwg(FinderOverlayView)
[Register("dwg", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwg(FinderOverlayView p0)
Parameters
Dwh(FinderOverlayView)
[Register("dwh", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwh(FinderOverlayView p0)
Parameters
Dwj(FinderOverlayView)
[Register("dwj", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwj(FinderOverlayView p0)
Parameters
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
Dwk(FinderOverlayView)
[Register("dwk", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwk(FinderOverlayView p0)
Parameters
Dwk(FinderOverlayView, ValueAnimator)
[Register("dwk", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void Dwk(FinderOverlayView p0, ValueAnimator p1)
Parameters
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
p0FinderOverlayViewp1Insets
Dwk(FinderOverlayView, long)
[Register("dwk", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;J)V", "")]
public static void Dwk(FinderOverlayView p0, long p1)
Parameters
p0FinderOverlayViewp1long
Dwn(FinderOverlayView)
[Register("dwn", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwn(FinderOverlayView p0)
Parameters
Dwn(FinderOverlayView, ValueAnimator)
[Register("dwn", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void Dwn(FinderOverlayView p0, ValueAnimator p1)
Parameters
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
p0FinderOverlayViewp1Insets
Dwp(FinderOverlayView)
[Register("dwp", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwp(FinderOverlayView p0)
Parameters
Dws(FinderOverlayView)
[Register("dws", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dws(FinderOverlayView p0)
Parameters
Dwv(FinderOverlayView)
[Register("dwv", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwv(FinderOverlayView p0)
Parameters
Dwx(FinderOverlayView)
[Register("dwx", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void Dwx(FinderOverlayView p0)
Parameters
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
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