java.lang.Object
java.awt.RenderingHints.Key
org.jfree.svg.SVGHints.Key
- Enclosing class:
- SVGHints
public static class SVGHints.Key extends RenderingHints.Key
A key for hints used by the
SVGGraphics2D
class.-
Constructor Summary
Constructors Constructor Description Key(int privateKey)
Creates a new instance. -
Method Summary
Modifier and Type Method Description boolean
isCompatibleValue(Object val)
Returnstrue
ifval
is a value that is compatible with this key, andfalse
otherwise.Methods inherited from class java.awt.RenderingHints.Key
equals, hashCode, intKey
-
Constructor Details
-
Key
Creates a new instance.- Parameters:
privateKey
- the private key.
-
-
Method Details
-
isCompatibleValue
Returnstrue
ifval
is a value that is compatible with this key, andfalse
otherwise.- Specified by:
isCompatibleValue
in classRenderingHints.Key
- Parameters:
val
- the value.- Returns:
- A boolean.
-