Barcode Pick View Highlight Style Dot

Note

Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.

Defined in package com.scandit.datacapture.barcode.pick.ui

Dot
class Dot : BarcodePickViewHighlightStyle

Added in version 6.20.0

A style that will draw dots on top of barcodes.

Dot()
Dot()

Added in version 6.20.0

Creates a new instance with default values.

getBrushForState(state)
@NonNull Brush getBrushForState(BarcodePickState state)

Added in version 6.20.0

Gets the brush used for the passed pick state.

setBrushForState(brush, state)
void setBrushForState(@NonNull Brush brush,
        BarcodePickState state)

Added in version 6.20.0

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

getSelectedBrushForState(state)
@Nullable Brush getSelectedBrushForState(BarcodePickState state)

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.

setSelectedBrushForState(brush, state)
void setSelectedBrushForState(@Nullable Brush brush,
        BarcodePickState state)

Added 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.

toJson()
@NonNull String toJson()

Added in version 6.20.0

Returns the JSON representation of this Dot.