MBIDotsSubview


@interface MBIDotsSubview : MBISubview <MBIPointDetectorSubview>

A wrapper around CAShapeLayer which is used for presenting a status about barcode detections

The layer is used to draw dots representing barcodes

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) CAShapeLayer *dotsLayer

    Swift

    var dotsLayer: CAShapeLayer { get set }
  • Color of the dots

    Declaration

    Objective-C

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

    Swift

    var dotsColor: UIColor { get set }
  • Width of the dots

    Declaration

    Objective-C

    @property (nonatomic) CGFloat dotsStrokeWidth;

    Swift

    var dotsStrokeWidth: CGFloat { get set }
  • Radius of dots

    Declaration

    Objective-C

    @property (nonatomic) CGFloat dotsRadius;

    Swift

    var dotsRadius: CGFloat { get set }
  • Duration of the animation

    Declaration

    Objective-C

    @property (nonatomic) CGFloat animationDuration;

    Swift

    var animationDuration: CGFloat { get set }
  • Initializes the layer

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFrame:(CGRect)frame;

    Swift

    init(frame: CGRect)
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCoder:(NSCoder *)aDecoder;

    Swift

    init(coder aDecoder: NSCoder)
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;