Methods' Details |
getFontDescriptor
- Returns
-
the description of the font.
The unit of measurement is pixels for the device.
|
|
getFontMetric
- Returns
-
additional information about the font.
|
|
getCharWidth
short
getCharWidth( |
[in] char |
c ); |
- Returns
-
the width of the specified character
measured in pixels for the device.
|
|
getCharWidths
sequence< short >
getCharWidths( |
[in] char
[in] char |
nFirst,
nLast ); |
- Returns
-
a sequence of the widths of subsequent characters for this font.
|
|
getStringWidth
long
getStringWidth( |
[in] string |
str ); |
- Returns
-
the width of the specified string of characters
measured in pixels for the device.
|
|
getStringWidthArray
long
getStringWidthArray( |
[in] string
[out] sequence< long > |
str,
aDXArray ); |
- Returns
-
the width of the specified string of characters
measured in pixels for the device.
- Parameter aDXArray
-
receives the width of every single character
measured in pixels for the device.
|
|
getKernPairs
void
getKernPairs( |
[out] sequence< char >
[out] sequence< char >
[out] sequence< short > |
Chars1,
Chars2,
Kerns ); |
- Description
- queries the kerning pair table.
|
|
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.