FormXBarcodeRegion

data class FormXBarcodeRegion(val image: Bitmap, val topLeft: FormXPointF, val topRight: FormXPointF, val bottomRight: FormXPointF, val bottomLeft: FormXPointF, val boundingBox: FormXRectF, val data: String, val type: FormXBarcodeType)

Represents a region containing a barcode in an image.

Constructors

Link copied to clipboard
fun FormXBarcodeRegion(image: Bitmap, topLeft: FormXPointF, topRight: FormXPointF, bottomRight: FormXPointF, bottomLeft: FormXPointF, boundingBox: FormXRectF, data: String, type: FormXBarcodeType)

Functions

Link copied to clipboard

Converts the barcode region to a FormXDocumentRegion.

Properties

Link copied to clipboard

The bottom-left corner of the barcode region.

Link copied to clipboard

The bottom-right corner of the barcode region.

Link copied to clipboard

The bounding box of the barcode region.

Link copied to clipboard

The payload data contained in the barcode.

Link copied to clipboard

The cropped image of the barcode region.

Link copied to clipboard

The top-left corner of the barcode region.

Link copied to clipboard

The top-right corner of the barcode region.

Link copied to clipboard

The type of the detected barcode.