Axis
public protocol Axis
Interface for types that (abstractly or concretely) defines a coordinate space.
-
An element which is transformed into a
Position
.Declaration
Swift
associatedtype Element
-
Type describing a point in some coordinate system.
Declaration
Swift
associatedtype Coordinate
-
Calculate a position for the given entity.
Declaration
Swift
var coordinate: (Element) -> Coordinate { get }