EFStyleImageFillParamsImage

public class EFStyleImageFillParamsImage

Image configuration for image fill QR codes.

  • Creates an image configuration for image fill QR codes.

    Declaration

    Swift

    public init(
        image: EFStyleParamImage,
        mode: EFImageMode = .scaleAspectFill,
        alpha: CGFloat = 1
    )

    Parameters

    image

    The image to be used as background.

    mode

    The image mode for scaling and positioning. Defaults to scaleAspectFill.

    alpha

    The alpha transparency value. Defaults to 1.0.