EFStyleResampleImageParamsAlign
public class EFStyleResampleImageParamsAlign
Alignment pattern styling parameters for resample image QR codes.
-
The default color for alignment patterns.
Declaration
Swift
public static let defaultColor: CGColor -
Creates alignment pattern styling parameters.
Declaration
Swift
public init( style: EFStyleResampleImageParamAlignStyle = .rectangle, onlyWhite: Bool = false, size: CGFloat = 1, color: CGColor = EFStyleResampleImageParamsAlign.defaultColor )Parameters
styleThe style of the alignment pattern. Defaults to rectangle.
onlyWhiteWhether to only use white. Defaults to false.
sizeThe size of the alignment pattern. Defaults to 1.
colorThe color of the alignment pattern. Defaults to default color.
View on GitHub
Install in Dash