EspressChart
v 5.5

quadbase.util
Interface IText

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
IAnnotation, ILabel, INoDataToPlotMessage, ITextString

public interface IText
extends java.lang.Cloneable

This interface is used to modify the font, color, and angle of text strings drawn in the chart.

See Also:
ILabel, ITextString

Method Summary
 int getAngle()
          Returns the angle of the text string.
 java.awt.Color getColor()
          Returns the color of the text string.
 java.awt.Font getFont()
          Returns the font of the text string.
 void setAngle(int angle)
          Sets the counterclockwise angle of the text string.
 void setColor(java.awt.Color c)
          Sets the color value for the text string.
 void setFont(java.awt.Font f)
          Sets the font of the text string.
 

Method Detail

getColor

public java.awt.Color getColor()
Returns the color of the text string.
Returns:
The Color object containing the RGB color values for the text.

setColor

public void setColor(java.awt.Color c)
Sets the color value for the text string.
Parameters:
c - The Color object.

getFont

public java.awt.Font getFont()
Returns the font of the text string.
Returns:
The Font object containing the text string font information.

setFont

public void setFont(java.awt.Font f)
Sets the font of the text string.
Parameters:
f - The input Font object.

getAngle

public int getAngle()
Returns the angle of the text string.
Returns:
The counterclockwise angle of the text string, in degrees.

setAngle

public void setAngle(int angle)
Sets the counterclockwise angle of the text string.
Parameters:
angle - The angle, in degrees, of the text string.

EspressChart
v 5.5