Package org.jfree.skija
Class SkijaHints.Key
java.lang.Object
java.awt.RenderingHints.Key
org.jfree.skija.SkijaHints.Key
- Enclosing class:
- SkijaHints
public static class SkijaHints.Key extends RenderingHints.Key
A key for hints used by the
SkijaGraphics2D class.-
Constructor Summary
Constructors Constructor Description Key(int privateKey)Creates a new instance with the specified private key. -
Method Summary
Modifier and Type Method Description booleanisCompatibleValue(Object val)Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.Methods inherited from class java.awt.RenderingHints.Key
equals, hashCode, intKey
-
Constructor Details
-
Key
Creates a new instance with the specified private key.- 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:
- A boolean.
-