Class ComputedFont

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ComputedFont()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.lang.String[] getDetails​(java.lang.String font)  
      private static java.lang.String[] getFontSizeDetails​(java.lang.String fontSize)  
      private static boolean isValidLineHeight​(java.lang.String lineHeight)  
      • Methods inherited from class java.lang.Object

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

      • ComputedFont

        private ComputedFont()
    • Method Detail

      • getDetails

        static java.lang.String[] getDetails​(java.lang.String font)
      • getFontSizeDetails

        private static java.lang.String[] getFontSizeDetails​(java.lang.String fontSize)
        Returns:
        an array of fontSize and lineHeight, or null if invalid
      • isValidLineHeight

        private static boolean isValidLineHeight​(java.lang.String lineHeight)