EFStyleBasicParamsTiming
public class EFStyleBasicParamsTiming
Timing pattern styling parameters for basic QR codes.
This class defines the appearance of timing patterns in QR codes, which are the alternating dark and light modules that help decoders locate the data modules.
-
Default color for timing patterns (black).
Declaration
Swift
public static let defaultColor: CGColor -
Creates timing pattern styling parameters.
Declaration
Swift
public init( style: EFStyleParamTimingStyle = .rectangle, size: CGFloat = 1, color: CGColor = EFStyleBasicParamsTiming.defaultColor )Parameters
styleThe style of the timing pattern. Defaults to rectangle.
sizeThe size of the timing pattern modules. Defaults to 1.0.
colorThe color of the timing pattern. Defaults to black.
View on GitHub
Install in Dash