Structures

The following structures are available globally.

  • A struct that represents a single transformation that can then be combined with other Transforms

    Declaration

    Swift

    struct Transform
  • Concrete implementation that creates a CAShapeLayer from a <polygon> element and its attributes

    See more

    Declaration

    Swift

    struct SVGPolygon : SVGShapeElement
  • Concrete implementation that creates a CAShapeLayer from a <polyline> element and its attributes

    See more

    Declaration

    Swift

    struct SVGPolyline : SVGShapeElement
  • Concrete implementation that creates a container from a <svg> element and its attributes. This will almost always be the root container element that will container all other SVGElement layers

    See more

    Declaration

    Swift

    struct SVGRootElement : SVGContainerElement
  • A stack data structure

    Declaration

    Swift

    internal struct Stack<T> : StackType
  • A struct that conforms to the Sequence protocol that takes a coordinate string and continuously returnsCGPoints

    See more

    Declaration

    Swift

    internal struct CoordinateLexer : IteratorProtocol, Sequence
  • A struct that maps <path> d commands to SVGElements

    See more

    Declaration

    Swift

    internal struct PathDConstants
  • A struct that conforms to the Sequence protocol that takes a <path> d string and returns SVGElement instances

    See more

    Declaration

    Swift

    internal struct PathDLexer : IteratorProtocol, Sequence
  • A struct that lists all the supported elements and attributes for a parser

    See more

    Declaration

    Swift

    public struct SVGParserSupportedElements