EFStyleResampleImageParamsAlign
public class EFStyleResampleImageParamsAlign
Alignment pattern styling parameters for resample image QR codes.
-
The default color for alignment patterns.
Declaration
Swift
public static let defaultColor: CGColor
-
Creates alignment pattern styling parameters.
Declaration
Swift
public init( style: EFStyleResampleImageParamAlignStyle = .rectangle, onlyWhite: Bool = false, size: CGFloat = 1, color: CGColor = EFStyleResampleImageParamsAlign.defaultColor )
Parameters
style
The style of the alignment pattern. Defaults to rectangle.
onlyWhite
Whether to only use white. Defaults to false.
size
The size of the alignment pattern. Defaults to 1.
color
The color of the alignment pattern. Defaults to default color.