| Name | Description |
|---|
| roFont | roFont represents a particular font, from a font-family (eg. Arial), with a particular pixel size (e.g 20), and a particular boldness or italicness |
| Name | Type | Possible Values | Description |
|---|
| GetOneLineHeight | Integer | Number of pixels) as Intger | Returns the number of pixels from one line to the next when drawing with this font |
| Name | Type | Parameters | Possible Values | Description | |
|---|
| GetOneLineWidth | Integer | | Name | Type |
|---|
| MaxWidth | Integer | | text | String |
| | Number of pixels as Integer | Returns the width in pixels occupied by the text (this is capped at the maximum provided value). |
Each glyph and the needed spacing between glyphs is measured. The returned number of pixels will be no larger than MaxWidth. MaxWidth is generally the number of pixels available for rendering on this line.
| Name | Type | Possible Values | Description |
|---|
| GetAscent | Integer | Pixel value as Intger | Returns the font ascent in pixels |
| Name | Type | Possible Values | Description |
|---|
| GetDescent | Integer | Pixel value as Integer | Returns the font descent in pixels |
| Name | Type | Possible Values | Description |
|---|
| GetMaxAdvance | Integer | Pixel value as Integer | Returns the font maximum advance width in pixels |