Package hec.gfx2d

Class TextObject

java.lang.Object
hec.gfx2d.TextObject
Direct Known Subclasses:
RotatedText

public abstract class TextObject extends Object
Title: HEC JavaDev Description: Copyright: Company: RMA
  • Field Details

    • _text

      protected String _text
    • _priority

      protected float _priority
    • _font

      protected Font _font
    • _bgcolor

      protected Color _bgcolor
    • _fgcolor

      protected Color _fgcolor
    • _strwidth

      protected int _strwidth
    • _bounds

      protected transient LocalRect _bounds
  • Constructor Details

    • TextObject

      public TextObject()
    • TextObject

      public TextObject(String txt, float priority, Font font, Color fg, Color bg, Graphics g)
  • Method Details

    • getBounds

      public abstract LocalRect getBounds()
    • draw

      public abstract void draw(Graphics g)
    • intersects

      public boolean intersects(TextObject textobj)