SVGDrawable

public protocol SVGDrawable

A Shape that can be represented as an SVG element

  • Create a XMLElement representing the receiver

    Declaration

    Swift

    func svgElement() -> XMLElement
  • draw(in:) Extension method

    Add the receiver to the specified cotext

    Declaration

    Swift

    public func draw(in context: SVGContext)