Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / PLOTTING AND CALENDARS
CanvasPoint
A position in caller-defined Cartesian coordinates; positive y points upward.
Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.
Members on this page
Feature guides and release status
CanvasPoint
struct CanvasPointConforms to: Swift.Equatable, Swift.Sendable, Swift.SendableMetatype.
A position in caller-defined Cartesian coordinates; positive y points upward.
Source · Canvas.swift:5x
var x: DoubleZero-based column in terminal cells.
Source · Canvas.swift:6y
var y: DoubleZero-based row in terminal cells.
Source · Canvas.swift:7init(x:y:)
init(x: Double, y: Double)Creates a value with the supplied arguments. Default arguments are shown in the declaration.
Parameters (2)
x- Argument type and any default are shown in the declaration; see the behavior notes above.
y- Argument type and any default are shown in the declaration; see the behavior notes above.