BarcodePolygonsStaticView

Draws polygons reacting on FrameHandler result

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet?)

Types

Link copied to clipboard

Interface for a BarcodeItem to be marked as highlighted or not. Should be fast (called in onDraw)

Link copied to clipboard

Interface for a BarcodeItem to decide the appearance of the given barcode polygon

Link copied to clipboard

Interface for the binding a BarcodeItem to a view created by BarcodeItemViewFactory

Link copied to clipboard

Factory interface for the view under the polygon

Link copied to clipboard

Interface for the correcting position a BarcodeItem view created by BarcodeItemViewFactory to a barcode polygon path

Link copied to clipboard
data class BarcodePolygonStyle(var drawPolygon: Boolean, val useFill: Boolean, val useFillDeclined: Boolean, val cornerRadius: Float, val strokeWidth: Float, val strokeColor: Int, val strokeDeclinedColor: Int, val fillColor: Int, val fillDeclinedColor: Int, val shouldDrawShadows: Boolean)

Class that declares appearance of polygon

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Allows to set a delegate to decide if the given barcode should be highlighted

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Factory for the viewsPool appearing on the bottom of the barcode (or null if the view is not needed)

Link copied to clipboard

Attach this frame handler to IScanbotCameraView

Functions

Link copied to clipboard