loom & weft
Made for Swift.

Published release 0.2.1. Unreleased PR #2 reference.

LOOM 0.2.1 / PLOTTING AND CALENDARS

CanvasBounds

Finite, increasing coordinate limits.

Invalid limits cause the canvas to paint nothing.

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

CanvasBounds

Structure
struct CanvasBounds

Conforms to: Swift.Equatable, Swift.Sendable, Swift.SendableMetatype.

Finite, increasing coordinate limits.

Invalid limits cause the canvas to paint nothing.

Source · Canvas.swift:18

min

Instance Property
var min: Double

A public field of this type. Its value type and mutability are shown in the declaration.

Source · Canvas.swift:19

max

Instance Property
var max: Double

A public field of this type. Its value type and mutability are shown in the declaration.

Source · Canvas.swift:20

init(min:max:)

Initializer
init(min: Double, max: Double)

Creates a value with the supplied arguments. Default arguments are shown in the declaration.

Parameters (2)
min
Argument type and any default are shown in the declaration; see the behavior notes above.
max
Argument type and any default are shown in the declaration; see the behavior notes above.
Source · Canvas.swift:22