java.lang.Object
java.lang.Enum<SVGGraphics2D.Theme>
org.jfree.svg.SVGGraphics2D.Theme
All Implemented Interfaces:
Serializable, Comparable<SVGGraphics2D.Theme>, java.lang.constant.Constable
Enclosing class:
SVGGraphics2D

private static enum SVGGraphics2D.Themeextends Enum<SVGGraphics2D.Theme>
Identifies the I2P console theme for SVG post-processing. Each theme requires different gradient fills, stroke colors, and CSS class overrides in the generated SVG output.
  • Enum Constant Details

    • DARK

      public static final SVGGraphics2D.Theme DARK
      Dark theme — green gradient fill, yellow-green axis/stroke colors.
    • LIGHT

      public static final SVGGraphics2D.Theme LIGHT
      Light theme — blue gradient fill, dark gray axis/stroke colors.
    • MIDNIGHT

      public static final SVGGraphics2D.Theme MIDNIGHT
      Midnight theme — blue gradient fill, lavender axis/stroke colors.
    • CLASSIC

      public static final SVGGraphics2D.Theme CLASSIC
      Classic theme — no gradient fill (uses inline RGB), dark gray axis/stroke colors.
  • Constructor Details

    • Theme

      private Theme()
  • Method Details

    • values

      public static SVGGraphics2D.Theme[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SVGGraphics2D.Theme valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null