MBCDotsResultSubview
Objective-C
@interface MBCDotsResultSubview : MBCSubview <MBCPointDetectorSubview>
Swift
class MBCDotsResultSubview : MBCSubview, MBCPointDetectorSubview
Overlay subview presenting status of OCR detection. Dots are displayed over locations of detected characters.
-
Foreground color of dots.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull foregroundColor;
Swift
var foregroundColor: UIColor { get set }
-
Border and shadow color of dots.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull tintColor;
Swift
var tintColor: UIColor { get set }
-
If set YES, dots will not redraw until the animation is finished. This will make animation look much smoother on fast results.
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL shouldIgnoreFastResults;
Swift
var shouldIgnoreFastResults: Bool { get set }
-
Duration of fade animation for each dot.
Default: 0.25f
Declaration
Objective-C
@property (nonatomic) CGFloat charFadeInDuration;
Swift
var charFadeInDuration: CGFloat { get set }
-
Maximum number of dots shown on screen. This count has to be in range [20,50].
Default: 50
Declaration
Objective-C
@property (nonatomic) NSUInteger dotCount;
Swift
var dotCount: UInt { get set }