Other Structs

The following structs are available globally.

  • 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
  • Concrete implementation that creates a CAShapeLayer from a <polyline> element and its attributes

    See more

    Declaration

    Swift

    struct SVGPolyline: SVGShapeElement
  • A struct that lists all the supported elements and attributes for a parser

    Declaration

    Swift

    public struct SVGParserSupportedElements
  • Concrete implementation that creates a CAShapeLayer from a <path> element and its attributes

    See more

    Declaration

    Swift

    struct SVGPath: SVGShapeElement, ParsesAsynchronously
  • Concrete implementation that creates a CAShapeLayer from a <polygon> element and its attributes

    See more

    Declaration

    Swift

    struct SVGPolygon: SVGShapeElement