Package io.scanbot.sdk.barcode.ui
Class BarcodePolygonsStaticView.BarcodePolygonStyle
-
- All Implemented Interfaces:
public final class BarcodePolygonsStaticView.BarcodePolygonStyle
Class that declares appearance of polygon
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
drawPolygon
private final Boolean
useFill
private final Boolean
useFillDeclined
private final Float
cornerRadius
private final Float
strokeWidth
private final Integer
strokeColor
private final Integer
strokeDeclinedColor
private final Integer
fillColor
private final Integer
fillDeclinedColor
private final Boolean
shouldDrawShadows
-
Constructor Summary
Constructors Constructor Description BarcodePolygonsStaticView.BarcodePolygonStyle(Boolean drawPolygon, Boolean useFill, Boolean useFillDeclined, Float cornerRadius, Float strokeWidth, Integer strokeColor, Integer strokeDeclinedColor, Integer fillColor, Integer fillDeclinedColor, Boolean shouldDrawShadows)
-
Method Summary
Modifier and Type Method Description final Boolean
getDrawPolygon()
final Unit
setDrawPolygon(Boolean drawPolygon)
final Boolean
getUseFill()
final Boolean
getUseFillDeclined()
final Float
getCornerRadius()
final Float
getStrokeWidth()
final Integer
getStrokeColor()
final Integer
getStrokeDeclinedColor()
final Integer
getFillColor()
final Integer
getFillDeclinedColor()
final Boolean
getShouldDrawShadows()
-
-
Constructor Detail
-
BarcodePolygonsStaticView.BarcodePolygonStyle
BarcodePolygonsStaticView.BarcodePolygonStyle(Boolean drawPolygon, Boolean useFill, Boolean useFillDeclined, Float cornerRadius, Float strokeWidth, Integer strokeColor, Integer strokeDeclinedColor, Integer fillColor, Integer fillDeclinedColor, Boolean shouldDrawShadows)
-
-
Method Detail
-
getDrawPolygon
final Boolean getDrawPolygon()
-
setDrawPolygon
final Unit setDrawPolygon(Boolean drawPolygon)
-
getUseFill
final Boolean getUseFill()
-
getUseFillDeclined
final Boolean getUseFillDeclined()
-
getCornerRadius
final Float getCornerRadius()
-
getStrokeWidth
final Float getStrokeWidth()
-
getStrokeColor
final Integer getStrokeColor()
-
getStrokeDeclinedColor
final Integer getStrokeDeclinedColor()
-
getFillColor
final Integer getFillColor()
-
getFillDeclinedColor
final Integer getFillDeclinedColor()
-
getShouldDrawShadows
final Boolean getShouldDrawShadows()
-
-
-
-