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
directionThe direction of the lines. Defaults to .x.
thicknessThe thickness of the lines (0-1]. Defaults to 0.5.
colorThe color of the lines. Defaults to black.
View on GitHub
Install in Dash