java.lang.Object
java.awt.RenderingHints.Key
org.jfree.svg.SVGHints.Key
- Enclosing class:
SVGHints
A key for hints used by the
SVGGraphics2D class.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionbooleanisCompatibleValue(Object val) Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.Methods inherited from class RenderingHints.Key
equals, hashCode, intKey
Constructor Details
Key
public Key(int privateKey) Creates a new instance.- Parameters:
privateKey- the private key.
Method Details
isCompatibleValue
Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.- Specified by:
isCompatibleValuein classRenderingHints.Key- Parameters:
val- the value.- Returns:
trueif the value is one of those accepted by this key.