Package quadbase.util

Interface IText

All Superinterfaces:
Cloneable
All Known Subinterfaces:
IAnnotation, ILabel, INoDataToPlotMessage, ITextString
All Known Implementing Classes:
TextString, TextString

public interface IText extends Cloneable
This interface is used to modify the font, color, and angle of text strings drawn in the chart.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the angle of the text string.
    Returns the color of the text string.
    Returns the font of the text string.
    void
    setAngle(int angle)
    Sets the counterclockwise angle of the text string.
    void
    Sets the color value for the text string.
    void
    Sets the font of the text string.
  • Method Details

    • getColor

      Color getColor()
      Returns the color of the text string.
      Returns:
      The Color object containing the RGB color values for the text.
    • setColor

      void setColor(Color c)
      Sets the color value for the text string.
      Parameters:
      c - The Color object.
    • getFont

      Font getFont()
      Returns the font of the text string.
      Returns:
      The Font object containing the text string font information.
    • setFont

      void setFont(Font f)
      Sets the font of the text string.
      Parameters:
      f - The input Font object.
    • getAngle

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

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