List of usage examples for java.awt Shape hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
From source file:org.eclipse.birt.chart.device.svg.SVGGraphics2D.java
/** * @param clip// w w w .j a v a 2s .c om * The clip to set. */ public void setClip(Shape clip) { this.clip = clip; if (clip != null) { Element clipPath = dom.createElement("clipPath"); //$NON-NLS-1$ clipPath.setAttribute("id", "clip" + clip.hashCode()); //$NON-NLS-1$ //$NON-NLS-2$ clipPath.appendChild(createGeneralPath(clip)); definitions.appendChild(clipPath); } }