Barcode Pick View Highlight Style Rectangular

Defined under the namespace Scandit.Datacapture.Barcode.Pick.Ui

Rectangular
class Rectangular : BarcodePickViewHighlightStyle

Added in version 6.19.0

A style that will draw rectangles on top of barcodes.

constructor()
constructor()

Added in version 6.19.0

Creates a new instance with default values.

getBrushForState(state)
getBrushForState(state: BarcodePickState): Brush

Added in version 6.19.0

Gets the brush used for the passed pick state.

setBrushForState(brush, state)
setBrushForState(brush: Brush,
        state: BarcodePickState): void

Added in version 6.19.0

Use this method to configure the brush used for the specific pick state.

getSelectedBrushForState(state)
getSelectedBrushForState(state: BarcodePickState): Brush | null

Added in version 8.2.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.

setSelectedBrushForState(brush, state)
setSelectedBrushForState(brush: Brush | null,
        state: BarcodePickState): void

Added in version 8.2.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.

minimumHighlightWidth
minimumHighlightWidth: number

Added in version 6.28.0

Minimum width for the highlights. Default is 40dp.

minimumHighlightHeight
minimumHighlightHeight: number

Added in version 6.28.0

Minimum height for the highlights. Default is 40dp.