Class FontMetrics


  • public class FontMetrics
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FontMetrics()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Rectangle2D getStringBounds​(java.lang.String s, java.awt.Graphics2D g2d)  
      • Methods inherited from class java.lang.Object

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

      • FontMetrics

        public FontMetrics()
    • Method Detail

      • getStringBounds

        public Rectangle2D getStringBounds​(java.lang.String s,
                                           java.awt.Graphics2D g2d)