List of usage examples for org.jfree.graphics2d.svg SVGHints KEY_BEGIN_GROUP
SVGHints.Key KEY_BEGIN_GROUP
To view the source code for org.jfree.graphics2d.svg SVGHints KEY_BEGIN_GROUP.
Click Source Link
SVGGraphics2D
that the caller would like to begin a new group element. From source file:org.jfree.graphics2d.svg.SVGHints.java
/** * Returns <code>true</code> if this key is equivalent to * {@link #KEY_BEGIN_GROUP}, and <code>false</code> otherwise. The purpose * of this method is to allow certain keys from external packages (such as * Orson Charts) to use their own keys to drive the behaviour of * SVGHints.KEY_BEGIN_GROUP. This has two benefits: (1) it avoids the * necessity to make JFreeSVG a direct dependency, and (2) it makes the * grouping behaviour generic from the point of view of the external * package, rather than SVG-specific.//from w w w . j a va2 s . c o m * * @param key the key (<code>null</code> not permitted) * * @return A boolean. * * @since 1.8 */ public static boolean isBeginGroupKey(RenderingHints.Key key) { return SVGHints.KEY_BEGIN_GROUP.equals(key) || beginGroupKeys.contains(key); }