public class FinderOverlayView
Represents default ScanbotSDK Finder view overlay
| Constructor and Description |
|---|
FinderOverlayView(android.content.Context context,
android.util.AttributeSet attr) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchDraw(android.graphics.Canvas canvas) |
boolean |
isInEditMode() |
void |
onLayout(boolean changed,
int l,
int t,
int r,
int b) |
void |
setOverlayColor(int overlayColor)
Changes fill color of the Finder view
|
void |
setStrokeColor(int strokeColor)
Changes stroke color of the Finder view.
|
void |
setStrokeWidth(int strokeWidth)
Changes stroke width of the Finder view.
|
public FinderOverlayView(android.content.Context context,
android.util.AttributeSet attr)
public void dispatchDraw(android.graphics.Canvas canvas)
public boolean isInEditMode()
public void onLayout(boolean changed,
int l,
int t,
int r,
int b)
public void setOverlayColor(int overlayColor)
Changes fill color of the Finder view
overlayColor - color (not resource!) to draw Finder overlay with. Alpha channel is supported.public void setStrokeColor(int strokeColor)
Changes stroke color of the Finder view.
strokeColor - color (not resource!) to draw Finder overlay lines with. Alpha channel is supported.public void setStrokeWidth(int strokeWidth)
Changes stroke width of the Finder view.
strokeWidth - width (not resource!) to draw Finder overlay lines with.