TextBufferWriter.getArea

Returns a mutable, random-access (indexable) range (TextBufferRange) containing the characters of the specified area.

struct TextBufferWriter
pure
getArea
(
size_t x
,
size_t y
,
size_t width
,
size_t height
)

Parameters

x size_t

The x position to start at.

y size_t

The y position to start at.

width size_t

How many characters per line.

height size_t

How many lines.

Return Value

A TextBufferRange that is configured for the given area.

Meta