All Perspective for Java chart text objects (for example,
title, subtitle, labels, and so on) are Java 2D Text objects. You
can use the following methods to apply color, textures, and gradients
to these objects and to specify strike through and underline types:
- get/setShadowFillType();
Get/Set shadow fill type (color, gradient, or texture) for a text object.
- get/setShadowGradientEndColor();
For a gradient shadow fill type, get/set the gradient end color.
- get/setShadowGradientStartColor();
For a gradient shadow fill type, get/set the gradient start color.
- get/setShadowTextureURL();
For a texture shadow fill type, get/set the URL where the texture
file is defined.
- get/setTextBackgroundColor();
For color shadow fill type, set the background color of a text object.
- get/setTextStrikethrough();
Get/set strike through mode for a text object.
- get/setTextUnderlineType();
Get/set an underline type for a text object.
- get/setUseTextBackgroundColor();
Enable/disable use of the text background color set by setTextBackgroundColor().