Class HeightMode


  • public final class HeightMode
    extends java.lang.Object
    A type-safe enumeration used to vertically align texts by using the capital or text ascent, or the text's height.
    Version:
    $Revision: 1.6 $
    • Field Detail

      • name

        private final java.lang.String name
      • CAPITAL_ASCENT

        public static final HeightMode CAPITAL_ASCENT
      • TEXT_ASCENT

        public static final HeightMode TEXT_ASCENT
      • TEXT_HEIGHT

        public static final HeightMode TEXT_HEIGHT
    • Constructor Detail

      • HeightMode

        private HeightMode​(java.lang.String name)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object