|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Font | deriveMMFont(float[] glyphWidths,
float avgStemWidth,
float typicalCapHeight,
float typicalXHeight,
float italicAngle)
Creates a new instance of a multiple master font based on detailed metric information. |
Font | deriveMMFont(float[] axes)
Creates a new instance of a multiple master font based on the design axes values specified by the array. |
float[] | getDesignAxisDefaults()
Returns an array of default design values for each axis. |
String[] | getDesignAxisNames()
Returns the name for each design axis. |
float[] | getDesignAxisRanges()
Returns an array of design limits interleaved in the form [from->to] for each axis. |
int | getNumDesignAxes()
Returns the number of multiple master design controls. |
Method Detail |
public int getNumDesignAxes()
public float[] getDesignAxisRanges()
public float[] getDesignAxisDefaults()
public String[] getDesignAxisNames()
public Font deriveMMFont(float[] axes)
public Font deriveMMFont(float[] glyphWidths, float avgStemWidth, float typicalCapHeight, float typicalXHeight, float italicAngle)
glyphWidths
- An array of floats representing the desired width of
each glyph in font space.
avgStemWidth
- The average stem width for the overall font in font
space.
typicalCapHeight
- The height of a typical upper case char.
typicalXHeight
- The height of a typical lower case char.
italicAngle
- The angle at which the italics lean, in degrees
counterclockwise from vertical.
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |