Package io.scanbot.sdk.barcode.ui
Class BarcodePolygonsView.BarcodePolygonStyle
-
- All Implemented Interfaces:
public final class BarcodePolygonsView.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
useFillHighlighted
private final Float
cornerRadius
private final Float
strokeWidth
private final Integer
strokeColor
private final Integer
strokeHighlightedColor
private final Integer
fillColor
private final Integer
fillHighlightedColor
private final Boolean
shouldDrawShadows
-
Constructor Summary
Constructors Constructor Description BarcodePolygonsView.BarcodePolygonStyle(Boolean drawPolygon, Boolean useFill, Boolean useFillHighlighted, Float cornerRadius, Float strokeWidth, Integer strokeColor, Integer strokeHighlightedColor, Integer fillColor, Integer fillHighlightedColor, Boolean shouldDrawShadows)
-
Method Summary
Modifier and Type Method Description final Boolean
getDrawPolygon()
final Unit
setDrawPolygon(Boolean drawPolygon)
final Boolean
getUseFill()
final Boolean
getUseFillHighlighted()
final Float
getCornerRadius()
final Float
getStrokeWidth()
final Integer
getStrokeColor()
final Integer
getStrokeHighlightedColor()
final Integer
getFillColor()
final Integer
getFillHighlightedColor()
final Boolean
getShouldDrawShadows()
-
-
Constructor Detail
-
BarcodePolygonsView.BarcodePolygonStyle
BarcodePolygonsView.BarcodePolygonStyle(Boolean drawPolygon, Boolean useFill, Boolean useFillHighlighted, Float cornerRadius, Float strokeWidth, Integer strokeColor, Integer strokeHighlightedColor, Integer fillColor, Integer fillHighlightedColor, Boolean shouldDrawShadows)
-
-
Method Detail
-
getDrawPolygon
final Boolean getDrawPolygon()
-
setDrawPolygon
final Unit setDrawPolygon(Boolean drawPolygon)
-
getUseFill
final Boolean getUseFill()
-
getUseFillHighlighted
final Boolean getUseFillHighlighted()
-
getCornerRadius
final Float getCornerRadius()
-
getStrokeWidth
final Float getStrokeWidth()
-
getStrokeColor
final Integer getStrokeColor()
-
getStrokeHighlightedColor
final Integer getStrokeHighlightedColor()
-
getFillColor
final Integer getFillColor()
-
getFillHighlightedColor
final Integer getFillHighlightedColor()
-
getShouldDrawShadows
final Boolean getShouldDrawShadows()
-
-
-
-