Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 204
Registered: ‎07-09-2009
My Device: Not Specified
Accepted Solution

Font antialiasing documentation - please?

Could anyone read between the lines of this documentation and get any information out of it beyond the format and vague meaning of the parameters?

 

public Font derive(int style,
                   int height,
                   int units,
                   int antialiasMode,
                   int effects)

    Derives a font with the given style, size, units, antialias mode and glyph effects.

    Works like derive(int), except you can also specify a new font size, height unit, antialias mode and glyph effects. If a font with the specified size, units, antialias mode and glyph effects cannot be derived, then this method returns a handle to this font.

    Parameters:
        style - New style desired.
        height - New height desired.
        units - Units modifier in height, must be one of Ui.UNITS_*.
        antialiasMode - New antialias mode desired.
        effects - New glyph effects desired.

 

 

Antialias mode desired... "Smooth"?  Glyph effects desired... "Normal"?

 

Highlighted
Developer
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified