EFStyleLineParamsPosition
public class EFStyleLineParamsPosition
Position detection pattern styling parameters for line QR codes.
-
Default color for position detection patterns (black).
Declaration
Swift
public static let defaultColor: CGColor
-
Creates position detection pattern styling parameters.
Declaration
Swift
public init( style: EFStyleParamsPositionStyle = .rectangle, size: CGFloat = 1, color: CGColor = EFStyleLineParamsPosition.defaultColor )
Parameters
style
The style of the position detection pattern. Defaults to .rectangle.
size
The size of the position detection pattern. Defaults to 1.0.
color
The color of the position detection pattern. Defaults to black.