Class PdfFontParsing


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

      • PdfFontParsing

        public PdfFontParsing()
    • 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