Package hec.gfx2d

Class GfxTextObject

java.lang.Object
hec.gfx2d.GfxTextObject
Direct Known Subclasses:
GfxLabelItem

public abstract class GfxTextObject extends Object
Title: GFX 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

    • GfxTextObject

      public GfxTextObject()
    • GfxTextObject

      public GfxTextObject(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(GfxTextObject textobj)