Class TwoHeadedArrowGlyph

  • All Implemented Interfaces:
    Glyph

    public class TwoHeadedArrowGlyph
    extends java.lang.Object
    implements Glyph
    A Glyph that paints a two headed arrow within the bounds
    Since:
    1.5
    Author:
    Mark Southern
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.geom.Rectangle2D.Float getBounds()  
      void render​(java.awt.Graphics2D g)  
      void setBounds​(java.awt.geom.Rectangle2D.Float r)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TwoHeadedArrowGlyph

        public TwoHeadedArrowGlyph()
      • TwoHeadedArrowGlyph

        public TwoHeadedArrowGlyph​(java.awt.geom.Rectangle2D.Float bounds)
    • Method Detail

      • getBounds

        public java.awt.geom.Rectangle2D.Float getBounds()
        Specified by:
        getBounds in interface Glyph
      • setBounds

        public void setBounds​(java.awt.geom.Rectangle2D.Float r)
        Specified by:
        setBounds in interface Glyph
      • render

        public void render​(java.awt.Graphics2D g)
        Specified by:
        render in interface Glyph