Class FontParsing


  • public class FontParsing
    extends AbstractParsing
    For parsing Font options.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • FontParsing

        public FontParsing()
    • Method Detail

      • toString

        public static String toString​(AbstractOption option,
                                      Object object)
        Returns the color as string.
        Parameters:
        option - the current option
        object - the color object to convert
        Returns:
        the generated string
      • valueOf

        public static Object valueOf​(AbstractOption option,
                                     String str)
        Returns a color generated from the string.
        Parameters:
        option - the current option
        str - the string to convert to a color
        Returns:
        the generated color