Barcode AR Info Annotation Body Component
Defined in package com.scandit.datacapture.barcode.ar.ui
- BarcodeArInfoAnnotationBodyComponent
class BarcodeArInfoAnnotationBodyComponentAdded in version 8.6.0
A component that forms the body of an info annotation. Each component represents a “row,” containing text with optional icons on the left and/or right sides.
- BarcodeArInfoAnnotationBodyComponent()
BarcodeArInfoAnnotationBodyComponent()Added in version 8.6.0
Constructs a new instance of the body component.
- textSize
var textSize:
FloatAdded in version 8.6.0
The size of the text. Default is 14 scale-independent pixels.
- fontFamily
var fontFamily: FontFamily
Added in version 8.6.0
The font used for the text.
- textAlignment
var textAlignment: TextAlignment
Added in version 8.6.0
The text alignment. The default value is center.
- textColor
var textColor: Color
Added in version 8.6.0
The color of the text. The default value is #121619.
- styledText
var styledText: StyledText?
Added in version 8.6.0
The styled text shown in the component, as a StyledText mapped to platform-native rich text (Android
SpannableString/ iOSNSAttributedString). When set, it overrides the values defined in the other text-related properties (text, fontFamily, textColor, textSize, textAlignment).
- isLeftIconTappable
var isLeftIconTappable:
BooleanAdded in version 8.6.0
Whether the left icon is tappable. Default is true.
- leftIcon
var leftIcon: ScanditIcon?
Added in version 8.6.0
The icon displayed on the left side of the component. If null, no button is shown. The default value is null.
- rightIcon
var rightIcon: ScanditIcon?
Added in version 8.6.0
The icon displayed on the right side of the component. If null, no button is shown. The default value is null.
- isRightIconTappable
var isRightIconTappable:
BooleanAdded in version 8.6.0
Whether the right icon is tappable. Default is true.