Enclosing class:
SVGHints

public static class SVGHints.Keyextends RenderingHints.Key
A key for hints used by the SVGGraphics2D class.
  • Constructor Details

    • Key

      public Key(int privateKey)
      Creates a new instance.
      Parameters:
      privateKey - the private key.
  • Method Details

    • isCompatibleValue

      public boolean isCompatibleValue(Object val)
      Returns true if val is a value that is compatible with this key, and false otherwise.
      Specified by:
      isCompatibleValue in class RenderingHints.Key
      Parameters:
      val - the value.
      Returns:
      true if the value is one of those accepted by this key.