Classes
The following classes are available globally.
-
Represents a line between two points
See moreDeclaration
Swift
open class Line : Shape, Intersectable, RayTracable
extension Line: CGDrawable
extension Line: SVGDrawable
extension Line: CustomStringConvertible
extension Line: Hashable
-
A circle, with an origin and a radius
See moreDeclaration
Swift
public class Circle
extension Circle: SVGDrawable
extension Circle: CGDrawable
extension Circle: RayTracable
extension Circle: Hashable
extension Circle: Polygon
-
A rectangle
See moreDeclaration
Swift
open class Rectangle : Polygon, CGDrawable, SVGDrawable, RayTracable
extension Rectangle: Intersectable
extension Rectangle: Hashable
-
Holds values related to how objects should be drawn
See moreDeclaration
Swift
public class SwiftGraphicsContext
-
A drawing context which creates SVG files
See moreDeclaration
Swift
public class SVGContext : DrawingContext
-
Declaration
Swift
public class PerlinGenerator
-
A parametric curve
See moreDeclaration
Swift
public class BezierPath : Shape
extension BezierPath: CGDrawable
extension BezierPath: SVGDrawable
extension BezierPath: Hashable
-
Represents a multi-point path
See moreDeclaration
Swift
public class Path : Shape
extension Path: CGDrawable
extension Path: SVGDrawable
extension Path: Hashable
-
Represents a Euclidean vector
See moreDeclaration
Swift
public class Vector : Shape
extension Vector: CGDrawable
extension Vector: SVGDrawable
extension Vector: CustomStringConvertible
extension Vector: Hashable