SpatialReadableCode

data class SpatialReadableCode(val value: String, val type: ReadableCode.Type, val bounds: Rect? = null, val sourceImageWidth: Int = 0, val sourceImageHeight: Int = 0)

Constructors

Link copied to clipboard
constructor(value: String, type: ReadableCode.Type, bounds: Rect? = null, sourceImageWidth: Int = 0, sourceImageHeight: Int = 0)

Properties

Link copied to clipboard
val bounds: Rect? = null

Bounding box of the readable code on the image

Link copied to clipboard

The height of the source image, used for coordinate transformation

Link copied to clipboard

The width of the source image, used for coordinate transformation

Link copied to clipboard

The type of readable code (e.g. EAN-13, …)

Link copied to clipboard

The value of the readable code, as a string

Functions