Home | History | Annotate | Download | only in view

Lines Matching refs:gc

245         Graphics2D gc = image.createGraphics();
247 drawRectangleShadow(gc, x, y, width, height);
249 gc.dispose();
266 Graphics2D gc = image.createGraphics();
268 drawSmallRectangleShadow(gc, x, y, width, height);
270 gc.dispose();
291 * @param gc the graphics context to draw into
297 public static void drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) {
311 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null);
312 gc.drawImage(ShadowBottomRight, x + width, y + height, null);
313 gc.drawImage(ShadowTopRight, x + width, y, null);
314 gc.drawImage(ShadowTopLeft, x - ShadowTopLeft.getWidth(null), y, null);
315 gc.drawImage(ShadowBottom,
318 gc.drawImage(ShadowRight,
321 gc.drawImage(ShadowLeft,
332 * @param gc the graphics context to draw into
338 public static void drawSmallRectangleShadow(Graphics2D gc, int x, int y, int width,
354 gc.drawImage(Shadow2BottomLeft, x - Shadow2BottomLeft.getWidth(null), y + height, null);
355 gc.drawImage(Shadow2BottomRight, x + width, y + height, null);
356 gc.drawImage(Shadow2TopRight, x + width, y, null);
357 gc.drawImage(Shadow2TopLeft, x - Shadow2TopLeft.getWidth(null), y, null);
358 gc.drawImage(Shadow2Bottom,
361 gc.drawImage(Shadow2Right,
364 gc.drawImage(Shadow2Left,