Methods Summary |
---|
public java.awt.Font | deriveMMFont(float[] axes)Creates a new instance of a multiple master font based on the design
axis values contained in the specified array. The size of the array
must correspond to the value returned from
getNumDesignAxes and the values of the array elements
must fall within limits specified by
getDesignAxesLimits . In case of an error,
null is returned.
|
public java.awt.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. In case of an error, null is returned.
|
public float[] | getDesignAxisDefaults()Returns an array of default design values for each axis. For example,
the default value for weight could be 1.6. The values are returned
in the same order returned by getDesignAxisNames .
|
public java.lang.String[] | getDesignAxisNames()Returns the name for each design axis. This also determines the order in
which the values for each axis are returned.
|
public float[] | getDesignAxisRanges()Returns an array of design limits interleaved in the form [from->to]
for each axis. For example,
design limits for weight could be from 0.1 to 1.0. The values are
returned in the same order returned by
getDesignAxisNames .
|
public int | getNumDesignAxes()Returns the number of multiple master design controls.
Design axes include things like width, weight and optical scaling.
|