Returns the dimensions of a glyph, or the dimensions of any glyph.
Arguments
Name | Type | Description |
character | string |
A character.
|
Returns
Name | Type | Description |
width | number |
The width, in pixels.
|
height | number |
The height, in pixels.
|
Arguments
Name | Type | Description |
codepoint | number |
A codepoint.
|
Returns
Name | Type | Description |
width | number |
The width, in pixels.
|
height | number |
The height, in pixels.
|
Arguments
None
Returns
Name | Type | Description |
width | number |
The width, in pixels.
|
height | number |
The height, in pixels.
|
See also