Structures
The following structures are available globally.
-
A struct that represents a single transformation that can then be combined with other
Transform
sDeclaration
Swift
struct Transform
-
Concrete implementation that creates a
See moreCAShapeLayer
from a<polygon>
element and its attributesDeclaration
Swift
struct SVGPolygon : SVGShapeElement
-
Concrete implementation that creates a
See moreCAShapeLayer
from a<polyline>
element and its attributesDeclaration
Swift
struct SVGPolyline : SVGShapeElement
-
Concrete implementation that creates a container from a
See more<svg>
element and its attributes. This will almost always be the root container element that will container all otherSVGElement
layersDeclaration
Swift
struct SVGRootElement : SVGContainerElement
-
A struct that conforms to the
See moreSequence
protocol that takes a coordinate string and continuously returnsCGPoint
sDeclaration
Swift
internal struct CoordinateLexer : IteratorProtocol, Sequence
-
The
See morePathCommand
that corresponds to the SVGM
orm
commandDeclaration
Swift
internal struct MoveTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGZ
orz
commandDeclaration
Swift
internal struct ClosePath : PathCommand
-
The
See morePathCommand
that corresponds to the SVGL
orl
commandDeclaration
Swift
internal struct LineTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGH
orh
commandDeclaration
Swift
internal struct HorizontalLineTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGV
orv
commandDeclaration
Swift
internal struct VerticalLineTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGC
orc
commandDeclaration
Swift
internal struct CurveTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGS
ors
commandDeclaration
Swift
internal struct SmoothCurveTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGQ
orq
commandDeclaration
Swift
internal struct QuadraticCurveTo : PathCommand
-
The
See morePathCommand
that corresponds to the SVGT
ort
commandDeclaration
Swift
internal struct SmoothQuadraticCurveTo : PathCommand
-
The
PathCommand
that corresponds to the SVGA
ora
commandTodo
Still needs an implementationDeclaration
Swift
internal struct EllipticalArc : PathCommand
-
A struct that maps
See more<path>
d commands toSVGElement
sDeclaration
Swift
internal struct PathDConstants
-
A struct that conforms to the
See moreSequence
protocol that takes a<path>
d
string and returnsSVGElement
instancesDeclaration
Swift
internal struct PathDLexer : IteratorProtocol, Sequence
-
A struct that lists all the supported elements and attributes for a parser
See moreDeclaration
Swift
public struct SVGParserSupportedElements