Barcode AR Rectangle Highlight

Defined in framework ScanditBarcodeCapture

BarcodeArRectangleHighlight
open class BarcodeArRectangleHighlight : UIView, BarcodeArHighlight

Added in version 7.1.0

A type of highlight that draws rectangles on top of barcodes. Highlight styles are customizable. Here are some examples:

../../../_images/rectangle_highlight.png ../../../_images/rectangle_highlight_icon.png

Default style.

Customized brush and icon.

init
init(barcode: Barcode)

Added in version 7.1.0

Creates a new instance with default values.

barcode
open var barcode: Barcode { get }

Added in version 7.1.0

The barcode instance for the annotation.

brush
open var brush: Brush { get, set }

Added in version 7.1.0

The brush used for visualizing a recognized barcode in the UI. By default, the brush has a blue fill color with 45% alpha, blue stroke and a stroke width of 2.

icon
open var icon: ScanditIcon? { get, set }

Added in version 7.1.0

The icon used for visualizing a recognized barcode in the UI. Is null by default.