TextBufferWriter.fill

Fills an area with a specific character.

Assertions: The point (x, y) must be in bounds.

struct TextBufferWriter
pure
fill
(
size_t x
,
size_t y
,
size_t width
,
size_t height
,
char ch
)

Parameters

x size_t

The starting x position.

y size_t

The starting y position.

width size_t

How many characters to fill.

height size_t

How many lines to fill.

ch char

The character to place.

Return Value

this, for function chaining.

Meta