SBSDKBarcodeTrackedViewTextStyle
@objcMembers
public class SBSDKBarcodeTrackedViewTextStyle : NSObject
A class that represents the style and kind of the text rendered below a barcode in SBSDKBarcodeTrackingOverlayController
.
-
Turns text drawing on or off.
Declaration
Swift
public var textDrawingEnabled: Bool
-
Determines the format of the text displayed on the barcode overlay.
Default:
SBSDKBarcodeOverlayFormat.codeAndType
Declaration
Swift
public var trackingOverlayTextFormat: SBSDKBarcodeOverlayFormat
-
The font used for displaying barcode information.
Declaration
Swift
public var textFont: UIFont
-
The color of the barcode text.
Declaration
Swift
public var textColor: UIColor
-
The color of the barcode text when highlighted.
Declaration
Swift
public var selectedTextColor: UIColor
-
The background color of the barcode text.
Declaration
Swift
public var textBackgroundColor: UIColor
-
The background color of the barcode text when highlighted.
Declaration
Swift
public var textBackgroundSelectedColor: UIColor