Searched refs:aRectangle (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DSwingUtilities.java208 * Convert the rectangle <code>aRectangle</code> in <code>source</code> coordinate system to
210 * If <code>source</code> is {@code null}, <code>aRectangle</code> is assumed to be in <code>destination</code>'s
212 * If <code>destination</code> is {@code null}, <code>aRectangle</code> will be converted to <code>source</code>'s
214 * If both <code>source</code> and <code>destination</code> are {@code null}, return <code>aRectangle</code>
217 public static Rectangle convertRectangle(Component source,Rectangle aRectangle,Component destination) { argument
218 Point point = new Point(aRectangle.x,aRectangle.y);
220 return new Rectangle(point.x,point.y,aRectangle.width,aRectangle.height);

Completed in 39 milliseconds