|
Drag[en]gine Script Module DragonScript 1.35
|
Public Member Functions | |
| void | addToCanvas (TextLayout layout, CanvasView canvas, int x, int y) |
| int | getCharCount () |
| int | getFirstChar () |
| int | getHeight () |
| int | getWidth () |
| int | getX () |
| int | getY () |
| TextLayoutLine | new (int first, int count, int width, int height) |
| void | setX (int x) |
| void | setY (int y) |
Public Attributes | |
| int | pFirstChar |
Line of text in a TextLayout object. All needed information are stored in the text line object. Can add a text canvas representing the line to a view canvas.
| void Dragengine.Utils.TextLayoutLine.addToCanvas | ( | TextLayout | layout, |
| CanvasView | canvas, | ||
| int | x, | ||
| int | y ) |
Add text canvas for layout line to view type canvas. The order of the created canvas is set to the count of canvas.
References addToCanvas(), getX(), getY(), new(), pFirstChar, setX(), and setY().
Referenced by addToCanvas().
| int Dragengine.Utils.TextLayoutLine.getCharCount | ( | ) |
Number of characters in the line.
Referenced by getX().
| int Dragengine.Utils.TextLayoutLine.getFirstChar | ( | ) |
| int Dragengine.Utils.TextLayoutLine.getHeight | ( | ) |
| int Dragengine.Utils.TextLayoutLine.getWidth | ( | ) |
Width of the line.
Referenced by setX().
| int Dragengine.Utils.TextLayoutLine.getX | ( | ) |
| int Dragengine.Utils.TextLayoutLine.getY | ( | ) |
Y position of the line.
Referenced by addToCanvas().
| TextLayoutLine Dragengine.Utils.TextLayoutLine.new | ( | int | first, |
| int | count, | ||
| int | width, | ||
| int | height ) |
Creates a new text line with the given parameters.
References new().
Referenced by addToCanvas(), and new().
| void Dragengine.Utils.TextLayoutLine.setX | ( | int | x | ) |
| void Dragengine.Utils.TextLayoutLine.setY | ( | int | y | ) |
| int Dragengine.Utils.TextLayoutLine.pFirstChar |
Referenced by addToCanvas(), getFirstChar(), and getHeight().