EFStyleBasicParamsData
public class EFStyleBasicParamsData
Data module styling parameters for basic QR codes.
This class defines the appearance of data modules in QR codes, which encode the actual information content of the QR code.
-
Default color for data modules (black).
Declaration
Swift
public static let defaultColor: CGColor -
Creates data module styling parameters.
Declaration
Swift
public init( style: EFStyleBasicParamsDataStyle = .rectangle, scale: CGFloat = 1, color: CGColor = EFStyleBasicParamsData.defaultColor )Parameters
styleThe style of the data modules. Defaults to rectangle.
scaleThe scale factor for data module size. Defaults to 1.0.
colorThe color of the data modules. Defaults to black.
View on GitHub
Install in Dash