EFStyleBasicParamsAlign
public class EFStyleBasicParamsAlign
Alignment pattern styling parameters for basic QR codes.
-
Default color for alignment patterns (black).
Declaration
Swift
public static let defaultColor: CGColor
-
Creates alignment pattern styling parameters.
Declaration
Swift
public init( style: EFStyleParamAlignStyle = .rectangle, size: CGFloat = 1, color: CGColor = EFStyleBasicParamsAlign.defaultColor )
Parameters
style
The style of the alignment pattern. Defaults to rectangle.
size
The size of the alignment pattern. Defaults to 1.0.
color
The color of the alignment pattern. Defaults to black.