MBIDocumentCaptureOverlaySettings


@interface MBIDocumentCaptureOverlaySettings : MBIBaseOverlaySettings

Settings class containing parameters for Document Capture UI

  • Designated initializer. Initializes the object with default settings.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()

    Return Value

    object initialized with default values.

  • Background color of document capture detection view Default: UIColor red:.282 green:.698 blue:.91

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *_Nonnull backgroundColor;

    Swift

    var backgroundColor: UIColor { get set }
  • Border color of document capture detection view Default: UIColor red:.282 green:.698 blue:.91

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *_Nonnull borderColor;

    Swift

    var borderColor: UIColor { get set }
  • Opacity of document capture detection view Default: 0.35

    Declaration

    Objective-C

    @property (nonatomic) CGFloat alphaOpacity;

    Swift

    var alphaOpacity: CGFloat { get set }