Barcode Pick View Highlight Style Rectangular
Note
Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.
Defined in framework ScanditBarcodeCapture
- BarcodePickViewHighlightStyleRectangular
open class BarcodePickViewHighlightStyleRectangular : NSObject, BarcodePickViewHighlightStyle
Added in version 6.19.0
A style that will draw rectangles on top of barcodes.
- init
init()
Added in version 6.19.0
Creates a new instance with default values.
- brush
open func brush(for state: BarcodePickState) -> Brush
Added in version 6.19.0
Gets the brush used for the passed pick state.
- setBrush
open func setBrush(_ brush: Brush, for state: BarcodePickState) ->
VoidAdded in version 6.19.0
Use this method to configure the brush used for the specific pick state.
- selectedBrush
open func selectedBrush(for state: BarcodePickState) -> Brush?
Added in version 6.24.0
Gets the brush used when items in the passed pick state are selected. If null, selected items are drawn with the same brush as non-selected items in the same state. Default is null for all states.
- setSelectedBrush
open func setSelectedBrush(_ brush: Brush?, for state: BarcodePickState) ->
VoidAdded in version 6.24.0
Use this method to configure the brush used when items in the specific pick state are selected. Pass null to draw selected items with the same brush as non-selected items in the same state.
- jsonString
open var jsonString: String { get }
Added in version 6.19.0
Returns the JSON representation of this BarcodePickViewHighlightStyleRectangular.
- minimumHighlightWidth
open var minimumHighlightWidth:
Int{ get, set }Added in version 6.25.0
Minimum width for the highlights. Default is 40dp.
- minimumHighlightHeight
open var minimumHighlightHeight:
Int{ get, set }Added in version 6.25.0
Minimum height for the highlights. Default is 40dp.