EFStyleParamBackdrop
public class EFStyleParamBackdrop
Backdrop configuration for QR codes.
-
Default color for backdrop (white).
Declaration
Swift
public static let defaultColor: CGColor -
Creates a backdrop configuration for QR codes.
Declaration
Swift
public init( cornerRadius: CGFloat = 0, color: CGColor = EFStyleParamBackdrop.defaultColor, image: EFStyleParamBackdropImage? = nil, quietzone: EFEdgeInsets? = nil )Parameters
cornerRadiusThe corner radius of the backdrop. Defaults to 0.
colorThe color of the backdrop. Defaults to white.
imageThe image to use as backdrop. Defaults to nil.
quietzoneThe quiet zone insets around the QR code. Defaults to nil.
View on GitHub
Install in Dash