|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultipleMaster
The MultipleMaster interface represents Type 1
Multiple Master fonts.
A particular Font object can implement this interface.
| Method Summary | |
|---|---|
Font |
deriveMMFont(float[] axes)
Creates a new instance of a multiple master font based on the design axis values contained in the specified array. |
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. |
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 |
|---|
int getNumDesignAxes()
float[] getDesignAxisRanges()
getDesignAxisNames.
float[] getDesignAxisDefaults()
getDesignAxisNames.
String[] getDesignAxisNames()
Font deriveMMFont(float[] axes)
getNumDesignAxes and the values of the array elements
must fall within limits specified by
getDesignAxesLimits. In case of an error,
null is returned.
axes - an array containing axis values
Font object that is an instance of
MultipleMaster and is based on the design axis values
provided by axes.
Font deriveMMFont(float[] glyphWidths,
float avgStemWidth,
float typicalCapHeight,
float typicalXHeight,
float italicAngle)
null is returned.
glyphWidths - an array of floats representing the desired width
of each glyph in font spaceavgStemWidth - the average stem width for the overall font in
font spacetypicalCapHeight - the height of a typical upper case chartypicalXHeight - the height of a typical lower case charitalicAngle - the angle at which the italics lean, in degrees
counterclockwise from vertical
Font object that is an instance of
MultipleMaster and is based on the specified metric
information.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.