SVGRootElement
struct SVGRootElement : SVGContainerElement
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
-
Declaration
Swift
internal var delayedAttributes: [String : String]
-
Declaration
Swift
internal var containerLayer: CALayer
-
Declaration
Swift
internal var supportedAttributes: [String : (String) -> ()]
-
Function that parses a number string and sets the
containerLayer
‘s widthDeclaration
Swift
internal func parseWidth(lengthString: String)
-
Function that parses a number string and sets the
containerLayer
‘s heightDeclaration
Swift
internal func parseHeight(lengthString: String)
-
nodoc:
Declaration
Swift
internal func viewBox(coordinates: String)