EFStyleResampleImageParamsTiming

public class EFStyleResampleImageParamsTiming

Timing pattern styling parameters for resample image QR codes.

  • The default color for timing patterns.

    Declaration

    Swift

    public static let defaultColor: CGColor
  • Creates timing pattern styling parameters.

    Declaration

    Swift

    public init(
        style: EFStyleResampleImageParamTimingStyle = .rectangle,
        onlyWhite: Bool = false,
        size: CGFloat = 1,
        color: CGColor = EFStyleResampleImageParamsTiming.defaultColor
    )

    Parameters

    style

    The style of the timing pattern. Defaults to rectangle.

    onlyWhite

    Whether to only use white. Defaults to false.

    size

    The size of the timing pattern. Defaults to 1.

    color

    The color of the timing pattern. Defaults to default color.