Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / RENDERING, VIEWPORTS, AND COMPOSITION
RenderSize
Nonnegative physical terminal dimensions in cells.
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
RenderSize
Structure
struct RenderSizeConforms to: Swift.Equatable, Swift.Sendable, Swift.SendableMetatype.
Nonnegative physical terminal dimensions in cells.
Source · RenderBackend.swift:4width
Instance Property
let width: IntWidth in terminal cells.
Source · RenderBackend.swift:5height
Instance Property
let height: IntHeight in terminal cells.
Source · RenderBackend.swift:6init(width:height:)
Initializer
init(width: Int, height: Int)Creates a value with the supplied arguments. Default arguments are shown in the declaration.
Parameters (2)
width- Available columns in terminal cells.
height- Available rows in terminal cells.