2018-12-29 16:05:19 -08:00
|
|
|
# BrokenLines
|
|
|
|
|
2019-02-02 18:06:35 -08:00
|
|
|
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
|
|
|
|
|
|
|
```
|
2019-04-02 10:37:02 -07:00
|
|
|
class BrokenLines : Object
|
2018-12-29 16:05:19 -08:00
|
|
|
{
|
|
|
|
int Count();
|
|
|
|
string StringAt(int line);
|
|
|
|
int StringWidth(int line);
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
### `Count`
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
Returns the amount of lines in this container.
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
### `StringAt`
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
Returns the text of line `line`.
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
### `StringWidth`
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
Returns the width (in pixels) of line `line`.
|
2018-12-29 16:05:19 -08:00
|
|
|
|
|
|
|
<!-- EOF -->
|