MBDotsSubview
@interface MBDotsSubview : MBSubview <MBPointDetectorSubview>
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 (readwrite, strong, nonatomic) UIColor *_Nonnull dotsColor;
Swift
var dotsColor: UIColor { get set }
-
Width of the dots
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CGFloat dotsStrokeWidth;
Swift
var dotsStrokeWidth: CGFloat { get set }
-
Radius of dots
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CGFloat dotsRadius;
Swift
var dotsRadius: CGFloat { get set }
-
Duration of the animation
Declaration
Objective-C
@property (assign, readwrite, 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)
-
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;