zscript-doc/api/drawing/BrokenLines.md

28 lines
446 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.
2018-12-29 16:05:19 -08:00
```
class BrokenLines : Object
2018-12-29 16:05:19 -08:00
{
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 -->