EFStyleLineParamsLine
public class EFStyleLineParamsLine
Line styling parameters for line QR codes.
-
Default color for lines (black).
Declaration
Swift
public static let defaultColor: CGColor
-
Creates line styling parameters.
Declaration
Swift
public init( direction: EFStyleLineParamsLineDirection = .x, thickness: CGFloat = 0.5, color: CGColor = EFStyleLineParamsLine.defaultColor )
Parameters
direction
The direction of the lines. Defaults to .x.
thickness
The thickness of the lines (0-1]. Defaults to 0.5.
color
The color of the lines. Defaults to black.