EFStyleBasicParamsPosition
public class EFStyleBasicParamsPosition
Position detection pattern styling parameters for basic QR codes.
This class defines the appearance of position detection patterns (finder patterns) in QR codes, which are the large square patterns in three corners that help decoders locate and orient the QR code.
-
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 = EFStyleBasicParamsPosition.defaultColor )
Parameters
style
The style of the position detection pattern. Defaults to rectangle.
size
The size factor for the position detection pattern. Defaults to 1.0.
color
The color of the position detection pattern. Defaults to black.