SVGEllipse
final class SVGEllipse : SVGShapeElement
Concrete implementation that creates a CAShapeLayer
from a <ellipse>
element and its attributes
-
The ellipse’s center point. Defaults to
CGRect.zero
Declaration
Swift
internal var ellipseCenter: CGPoint
-
The ellipse’s x radius. Defaults to
CGRect.zero
Declaration
Swift
internal var xRadius: CGFloat
-
The ellipse’s x radius. Defaults to
CGRect.zero
Declaration
Swift
internal var yRadius: CGFloat
-
Function that parses the number string and sets this instance’s x radius
Declaration
Swift
internal func xRadius(r: String)
-
Function that parses the number string and sets this instance’s y radius
Declaration
Swift
internal func yRadius(r: String)
-
Function that parses the number string and sets this instance’s x center
Declaration
Swift
internal func xCenter(x: String)
-
Function that parses the number string and sets this instance’s y center
Declaration
Swift
internal func yCenter(y: String)
-
Function that is called after the ellipse’s center and radius have been parsed and set. This function creates the path and sets the internal
SVGLayer
‘s path.Declaration
Swift
internal func didProcessElement(in container: SVGContainerElement?)