Barcode Pick Status Icon Settings
Defined in framework ScanditBarcodeCapture
- BarcodePickStatusIconSettings
open class BarcodePickStatusIconSettings : NSObject
Added in version 6.25.0
Use this class to customize the status icons in styles that support it.
- init
init()
Added in version 6.25.0
Creates a new BarcodePickStatusIconSettings instance with default values.
- ratioToHighlightSize
open var ratioToHighlightSize: CGFloat { get, set }
Added in version 6.25.0
The ratio between the shortest highlight dimension and the base size for the status icon. This base size will then be clamped between minSize and maxSize. For example, for a highlight with a size of 90x60 dp, a ratio of 0.6 means the base size for the status icon will be calculated as 60 (shortest dimension) * 0.6 = 36 dp, before being clamped between the minimum and maximum allowed sizes.
Default is 0.5.
- minSize
open var minSize:
Int{ get, set }Added in version 6.25.0
The minimum size allowed for status icons.
Default is 20 dp.
- maxSize
open var maxSize:
Int{ get, set }Added in version 6.25.0
The maximum size allowed for status icons.
Default is no maximum, INT_MAX.