MBDotsResultSubview


@interface MBDotsResultSubview : MBSubview <MBPointDetectorSubview>

Overlay subview presenting status of OCR detection. Dots are displayed over locations of detected characters.

  • Foreground color of dots.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *_Nonnull foregroundColor;

    Swift

    var foregroundColor: UIColor { get set }
  • Border and shadow color of dots.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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 (assign, readwrite, nonatomic) BOOL shouldIgnoreFastResults;

    Swift

    var shouldIgnoreFastResults: Bool { get set }
  • Duration of fade animation for each dot.

    Default: 0.25f

    Declaration

    Objective-C

    @property (assign, readwrite, 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 (assign, readwrite, nonatomic) NSUInteger dotCount;

    Swift

    var dotCount: UInt { get set }