SVGDrawable
public protocol SVGDrawable
A Shape
that can be represented as an SVG element
-
Create a
XMLElement
representing the receiverDeclaration
Swift
func svgElement() -> XMLElement
-
draw(in:
Extension method) Add the receiver to the specified cotext
Declaration
Swift
public func draw(in context: SVGContext)