BitmapChar
A BitmapChar contains the information about one char of a bitmap font. You don't have to use this object directly in most cases. The TextField object contains methods that handle bitmap fonts for you.
Created BitmapChar object has properties:
charID |
[read-only] The unicode ID of the char. |
xOffset |
[read-only] The number of points to move the char in x direction on character arrangement. |
yOffset |
[read-only] The number of points to move the char in y direction on character arrangement. |
xAdvance |
[read-only] The number of points the cursor has to be moved to the right for the next char. |
width |
[read-only] The width of the character in points. |
height |
[read-only] The height of the character in points. |
x |
[read-only] |
y |
[read-only] |
methods:
addKerning(charID, amount) |
Adds kerning information relative to a specific other character ID. |
charID - character ID. Int amount - float |
getKerning(charID) |
Retrieve kerning information relative to the given character ID. Float |
charID - character ID. Int |
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files