zscript-doc/api-drawing-BrokenLines.md

27 lines
437 B
Markdown
Raw Normal View History

2018-12-29 16:05:19 -08:00
# BrokenLines
A container representing an array of lines of text that have been broken up to fit the screen and clipping region.
```
class BrokenLines
{
int Count();
string StringAt(int line);
int StringWidth(int line);
}
```
- `Count`
Returns the amount of lines in this container.
- `StringAt`
Returns the text of line `line`.
- `StringWidth`
Returns the width (in pixels) of line `line`.
<!-- EOF -->