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
styleThe style of the alignment pattern. Defaults to rectangle.
sizeThe size of the alignment pattern. Defaults to 1.0.
colorThe color of the alignment pattern. Defaults to black.
View on GitHub
Install in Dash