AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkText.CharY Property

The current Y position of the specified character relative to the text object.

Syntax
Pascal
property CharY [const CharIndex: Integer]: Single;
Parameters 
Description 
CharIndex 
The index of the character to modify. Indexes start at 0. If the index is out of range it will be ignored. 

The character will be positioned using its top left corner. If any of the following commands are called 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.