Class UnderlineMetrics


  • public final class UnderlineMetrics
    extends java.lang.Object
    The metrics for underlining.

    Synchronization

    These objects are immutable.

    • Field Detail

      • position

        public final double position
      • thickness

        public final double thickness
    • Constructor Detail

      • UnderlineMetrics

        public UnderlineMetrics​(double position,
                                double thickness)
    • Method Detail

      • toEmSpace

        public UnderlineMetrics toEmSpace​(double unitsPerEmX,
                                          double unitsPerEmY)
      • toDesignSpace

        public UnderlineMetrics toDesignSpace​(double unitsPerEmX,
                                              double unitsPerEmY)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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