Class PSProcSets.StdProcSet

All Implemented Interfaces:
Comparable, PSCommandMap
Enclosing class:
PSProcSets

private static class PSProcSets.StdProcSet extends PSProcSet implements PSCommandMap
The standard procset used by XML Graphics Commons.
  • Field Details

    • STANDARD_MACROS

      private static final Map STANDARD_MACROS
      A Mapinvalid input: '<'String, String> of standard shorthand macros defined in the PSProcSets.StdProcSet.
  • Constructor Details

    • StdProcSet

      public StdProcSet()
  • Method Details

    • writeTo

      public void writeTo(PSGenerator gen) throws IOException
      Throws:
      IOException
    • mapCommand

      public String mapCommand(String command)
      Maps a standard PostScript command (like "setlinejoin" or "setrgbcolor") to a macro. If no mapping is available, the command itself is returned again.
      Specified by:
      mapCommand in interface PSCommandMap
      Parameters:
      command - the command
      Returns:
      the mapped command (or the "command" parameter if no mapping is available)