Set the position of an individual character relative to the text position set earlier.
|
Parameters |
Description |
|
const CharIndex: Integer |
The index of the character to modify. Indexes start at 0. If the index is out of range it will be ignored. |
|
const X: Single |
The new X position of the character, relative to the current text position. |
|
const Y: Single |
The new Y position of the character, relative to the current text position. |
The character will be positioned using its top left corner. If any of the following methods/properties are used, then the position of all characters will be reset to a straight line: SetPosition, X, Y, Size, Spacing and Alignment. Positioning characters within a text object is more efficient than positioning lots of small text objects each containing a character as all the characters can be drawn in a single draw call.
|
Copyright (c) 2012. All rights reserved.
|