Package io.scanbot.sdk.barcode.ui
Interface BarcodePolygonsView.BarcodeAppearanceDelegate
-
- All Implemented Interfaces:
public interface BarcodePolygonsView.BarcodeAppearanceDelegate
Interface for a BarcodeItem to decide the appearance of the given barcode polygon
-
-
Method Summary
Modifier and Type Method Description abstract BarcodePolygonsView.BarcodePolygonStyle
getPolygonStyle(BarcodePolygonsView.BarcodePolygonStyle defaultStyle, BarcodeItem barcodeItem)
Implement this method to decide the colors of the given barcodes polygon abstract BarcodePolygonsView.BarcodeTextViewStyle
getTextViewStyle(BarcodePolygonsView.BarcodeTextViewStyle defaultStyle, BarcodeItem barcodeItem)
Implement this method to decide the appearance of the given barcode default clickable view -
-
Method Detail
-
getPolygonStyle
abstract BarcodePolygonsView.BarcodePolygonStyle getPolygonStyle(BarcodePolygonsView.BarcodePolygonStyle defaultStyle, BarcodeItem barcodeItem)
Implement this method to decide the colors of the given barcodes polygon
- Parameters:
defaultStyle
- default style for the given barcode which can be alteredbarcodeItem
- barcode item
-
getTextViewStyle
abstract BarcodePolygonsView.BarcodeTextViewStyle getTextViewStyle(BarcodePolygonsView.BarcodeTextViewStyle defaultStyle, BarcodeItem barcodeItem)
Implement this method to decide the appearance of the given barcode default clickable view
- Parameters:
defaultStyle
- default style for the given barcode which can be alteredbarcodeItem
- barcode item
-
-
-
-