Inherits from NSObject
Declared in SGSScanPreviewStyle.h

Tasks

Properties

animationImage

@property (nullable, nonatomic, strong) UIImage *animationImage
Discussion

扫码动画效果图片,默认为空

Declared In

SGSScanPreviewStyle.h

animationImageHeight

@property (nonatomic, assign) CGFloat animationImageHeight
Discussion

动画图片高度,如果小于0则使用 animationImage.size.height,默认为 -1

Declared In

SGSScanPreviewStyle.h

animationStyle

@property (nonatomic, assign) SGSScanAnimationStyle animationStyle
Discussion

扫码动画,默认为无动画样式 SGSScanPreviewAnimationNone

Declared In

SGSScanPreviewStyle.h

controlCornerColor

@property (nonatomic, strong) UIColor *controlCornerColor
Discussion

四角控制标识符颜色,默认为 [UIColor orangeColor]

Declared In

SGSScanPreviewStyle.h

controlCornerHeight

@property (nonatomic, assign) CGFloat controlCornerHeight
Discussion

四角控制标识符的高度,默认 20

Declared In

SGSScanPreviewStyle.h

controlCornerLineWidth

@property (nonatomic, assign) CGFloat controlCornerLineWidth
Discussion

四角控制标识符线宽,默认为 5

Declared In

SGSScanPreviewStyle.h

controlCornerStyle

@property (nonatomic, assign) SGSScanControlCornerStyle controlCornerStyle
Discussion

四角控制标识符样式,默认为外围样式 SGSScanControlCornerStyleOuter

Declared In

SGSScanPreviewStyle.h

controlCornerWidth

@property (nonatomic, assign) CGFloat controlCornerWidth
Discussion

四角控制标识符的宽度,默认 20

Declared In

SGSScanPreviewStyle.h

maskColor

@property (nonatomic, strong) UIColor *maskColor
Discussion

识别区域外部的颜色,默认为 [UIColor blackColor]

Declared In

SGSScanPreviewStyle.h

maskOpacity

@property (nonatomic, assign) CGFloat maskOpacity
Discussion

识别区域外部的不透明度,取值范围:0~1,默认为0.6

Declared In

SGSScanPreviewStyle.h

regionOfInterestOutlineColor

@property (nonatomic, strong) UIColor *regionOfInterestOutlineColor
Discussion

扫码区域边框颜色,默认为 [UIColor whiteColor]

Declared In

SGSScanPreviewStyle.h

regionOfInterestOutlineWidth

@property (nonatomic, assign) CGFloat regionOfInterestOutlineWidth
Discussion

扫描区域边框线宽,默认为 2

Declared In

SGSScanPreviewStyle.h