EFPointStyle
@objc
public protocol EFPointStyle
Collection of foreground point renderer capabilities.
-
Fills a code point satisfying this style.
Declaration
Swift
func fillRect(context: CGContext, rect: CGRect, isStatic: Bool)
Parameters
context
the context to draw in.
rect
the boundaries of the point to draw.
isStatic
true if it is recommended to use a square instead of current style.
-
square
Extension methodClassical QR code look and feel 🔳.
Declaration
Swift
static var square: Self { get }
-
circle
Extension methodMore well rounded 🔘.
Declaration
Swift
static var circle: Self { get }
-
diamond
Extension methodSparkling ✨.
Declaration
Swift
static var diamond: Self { get }