Package io.scanbot.sdk.ui_v2.common
Class FinderCorneredStyle
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class FinderCorneredStyle extends FinderStyle implements Parcelable
Variant of the viewfinder displaying only the four corners of the scanning area as user guidance.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
typeName
private ScanbotColor
strokeColor
private Double
strokeWidth
private Double
cornerRadius
-
Constructor Summary
Constructors Constructor Description FinderCorneredStyle(Map<String, Object> json)
FinderCorneredStyle()
FinderCorneredStyle(ScanbotColor strokeColor, Double strokeWidth, Double cornerRadius)
-
Method Summary
Modifier and Type Method Description String
getTypeName()
final ScanbotColor
getStrokeColor()
Color of the viewfinder corner's outlines. final Unit
setStrokeColor(ScanbotColor strokeColor)
Color of the viewfinder corner's outlines. final Double
getStrokeWidth()
Width of the viewfinder corner's outlines. final Unit
setStrokeWidth(Double strokeWidth)
Width of the viewfinder corner's outlines. final Double
getCornerRadius()
Radius of the viewfinder's corners. final Unit
setCornerRadius(Double cornerRadius)
Radius of the viewfinder's corners. -
-
Method Detail
-
getTypeName
String getTypeName()
-
getStrokeColor
final ScanbotColor getStrokeColor()
Color of the viewfinder corner's outlines.
-
setStrokeColor
final Unit setStrokeColor(ScanbotColor strokeColor)
Color of the viewfinder corner's outlines.
-
getStrokeWidth
final Double getStrokeWidth()
Width of the viewfinder corner's outlines.
-
setStrokeWidth
final Unit setStrokeWidth(Double strokeWidth)
Width of the viewfinder corner's outlines.
-
getCornerRadius
final Double getCornerRadius()
Radius of the viewfinder's corners.
-
setCornerRadius
final Unit setCornerRadius(Double cornerRadius)
Radius of the viewfinder's corners.
-
-
-
-