Liking cljdoc? Tell your friends :D

jdk.awt.font.MultipleMaster

The MultipleMaster interface represents Type 1 Multiple Master fonts. A particular Font object can implement this interface.

The MultipleMaster interface represents Type 1
Multiple Master fonts.
A particular Font object can implement this interface.
raw docstring

derive-mm-fontclj

(derive-mm-font this axes)
(derive-mm-font this
                glyph-widths
                avg-stem-width
                typical-cap-height
                typical-x-height
                italic-angle)

Creates a new instance of a multiple master font based on detailed metric information. In case of an error, null is returned.

glyph-widths - an array of floats representing the desired width of each glyph in font space - float[] avg-stem-width - the average stem width for the overall font in font space - float typical-cap-height - the height of a typical upper case char - float typical-x-height - the height of a typical lower case char - float italic-angle - the angle at which the italics lean, in degrees counterclockwise from vertical - float

returns: a Font object that is an instance of MultipleMaster and is based on the specified metric information. - java.awt.Font

Creates a new instance of a multiple master font based on detailed metric
 information. In case of an error, null is returned.

glyph-widths - an array of floats representing the desired width of each glyph in font space - `float[]`
avg-stem-width - the average stem width for the overall font in font space - `float`
typical-cap-height - the height of a typical upper case char - `float`
typical-x-height - the height of a typical lower case char - `float`
italic-angle - the angle at which the italics lean, in degrees counterclockwise from vertical - `float`

returns: a Font object that is an instance of
 MultipleMaster and is based on the specified metric
 information. - `java.awt.Font`
raw docstring

get-design-axis-defaultsclj

(get-design-axis-defaults this)

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.

returns: an array of default design values for each axis. - float[]

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.

returns: an array of default design values for each axis. - `float[]`
raw docstring

get-design-axis-namesclj

(get-design-axis-names this)

Returns the name for each design axis. This also determines the order in which the values for each axis are returned.

returns: an array containing the names of each design axis. - java.lang.String[]

Returns the name for each design axis. This also determines the order in
 which the values for each axis are returned.

returns: an array containing the names of each design axis. - `java.lang.String[]`
raw docstring

get-design-axis-rangesclj

(get-design-axis-ranges this)

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.

returns: an array of design limits for each axis. - float[]

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.

returns: an array of design limits for each axis. - `float[]`
raw docstring

get-num-design-axesclj

(get-num-design-axes this)

Returns the number of multiple master design controls. Design axes include things like width, weight and optical scaling.

returns: the number of multiple master design controls - int

Returns the number of multiple master design controls.
 Design axes include things like width, weight and optical scaling.

returns: the number of multiple master design controls - `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close