EFStyleFunctionParamsPosition
public class EFStyleFunctionParamsPosition
Position detection pattern styling parameters for function 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 = .round, size: CGFloat = 1, color: CGColor = EFStyleFunctionParamsPosition.defaultColor )
Parameters
style
The style of the position detection pattern. Defaults to .round.
size
The size of the position detection pattern. Defaults to 1.0.
color
The color of the position detection pattern. Defaults to black.