EFStyleResampleImageParamsPosition

public class EFStyleResampleImageParamsPosition

Position detection pattern styling parameters for resample image QR codes.

  • The default color for position detection patterns.

    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 = EFStyleResampleImageParamsPosition.defaultColor
    )

    Parameters

    style

    The style of the position detection pattern. Defaults to rectangle.

    size

    The size of the position detection pattern. Defaults to 1.

    color

    The color of the position detection pattern. Defaults to default color.