TypeMetric Methods
Method
|
Returns
|
Units |
Signature
|
Description
|
characterWidth
|
unsigned int |
pixels |
void |
Returns the character width |
characterHeight
|
unsigned int |
pixels |
void |
Returns the character height |
ascent
|
int |
64ths of a pixel |
void |
Returns the distance from the baseline to the highest/upper
grid coordinate used to place an outline point. Always a positive value. |
decent
|
int |
64ths of a pixel |
void |
Returns the distance from the baseline to the lowest
grid coordinate used to place an outline point. Always a negative value. |
textWidth
|
unsigned int |
64ths of a pixel |
void |
Returns text width |
textHeight
|
unsigned int |
64ths of a pixel |
void |
Returns text height |
maxHorizontalAdvance
|
unsigned int |
64ths of a pixel |
void |
Returns the maximum horizontal advance |