TextAntialiasing

This property enables or disables smoother drawing of graph text objects using Java 2D. Your development environment must include JRE 1.2 (or later) in order to use this property.

Syntax:

setTextAntialiasing(boolean);
boolean = getTextAntialiasing();

where:

boolean

Can be one of the following:

true enables text antialiasing.

false disables text antialiasing.

Example:

setAutofit(getSubtitle(),false);
setAutofit(getTitle(),false);
setFontName(getSubtitle(),"Vivaldi");
setFontSize(getSubtitle(),48);
setFontSize(getTitle(),48);
setFontSizeAbsolute(getSubtitle(),true);
setFontSizeAbsolute(getTitle(),true);
setFontStyle(getTitle(),3);
setRect(getSubtitle(),new Rectangle(-13471,10992,25806,1539));
setShadowDisplay(getSubtitle(),true);
setShadowDisplay(getTitle(),true);  setTextAntialiasing(false);

bar graph

setTextAntialiasing(true);

bar graph

See PrimitiveAntialiasing.


WebFOCUS