Package com.github.weisj.jsvg
Class SVGRenderingHints.Key
- java.lang.Object
-
- java.awt.RenderingHints.Key
-
- com.github.weisj.jsvg.SVGRenderingHints.Key
-
- Enclosing class:
- SVGRenderingHints
private static final class SVGRenderingHints.Key extends java.awt.RenderingHints.Key
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Key(int privateKey)
Construct a key using the indicated private key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompatibleValue(@Nullable java.lang.Object val)
-
-
-
Constructor Detail
-
Key
private Key(int privateKey)
Construct a key using the indicated private key. Each subclass of Key maintains its own unique domain of integer keys. No two objects with the same integer key and of the same specific subclass can be constructed. An exception will be thrown if an attempt is made to construct another object of a given class with the same integer key as a pre-existing instance of that subclass of Key.- Parameters:
privateKey
- the specified key
-
-