Color bgcolor, ImageObserver observer){ return drawImage(img, x, y, img.getWidth(null), img.getHeight(null), bgcolor, observer);
Color bgcolor, ImageObserver observer){ return drawImage(img, x, y, img.getWidth(null), img.getHeight(null), bgcolor, observer);
Color bgcolor, ImageObserver observer){ return drawImage(img, x, y, img.getWidth(null), img.getHeight(null), bgcolor, observer);
/** * Renders a <code>BufferedImage</code> that is * filtered with a * {@link BufferedImageOp}. * The rendering attributes applied include the <code>Clip</code>, * <code>Transform</code> * and <code>Composite</code> attributes. This is equivalent to: * <pre> * img1 = op.filter(img, null); * drawImage(img1, new AffineTransform(1f,0f,0f,1f,x,y), null); * </pre> * @param img the <code>BufferedImage</code> to be rendered * @param op the filter to be applied to the image before rendering * @param x the x coordinate in user space where the image is rendered * @param y the y coordinate in user space where the image is rendered * @see #transform * @see #setTransform * @see #setComposite * @see #clip * @see #setClip(Shape) */ public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y){ img = op.filter(img, null); drawImage(img, x, y, null); }
/** * Renders a <code>BufferedImage</code> that is * filtered with a * {@link BufferedImageOp}. * The rendering attributes applied include the <code>Clip</code>, * <code>Transform</code> * and <code>Composite</code> attributes. This is equivalent to: * <pre> * img1 = op.filter(img, null); * drawImage(img1, new AffineTransform(1f,0f,0f,1f,x,y), null); * </pre> * @param img the <code>BufferedImage</code> to be rendered * @param op the filter to be applied to the image before rendering * @param x the x coordinate in user space where the image is rendered * @param y the y coordinate in user space where the image is rendered * @see #transform * @see #setTransform * @see #setComposite * @see #clip * @see #setClip(Shape) */ public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y){ img = op.filter(img, null); drawImage(img, x, y, null); }
return drawImage(src, dx1, dy1, dx2-dx1, dy2-dy1, observer);
/** * Renders a <code>BufferedImage</code> that is * filtered with a * {@link BufferedImageOp}. * The rendering attributes applied include the <code>Clip</code>, * <code>Transform</code> * and <code>Composite</code> attributes. This is equivalent to: * <pre> * img1 = op.filter(img, null); * drawImage(img1, new AffineTransform(1f,0f,0f,1f,x,y), null); * </pre> * @param img the <code>BufferedImage</code> to be rendered * @param op the filter to be applied to the image before rendering * @param x the x coordinate in user space where the image is rendered * @param y the y coordinate in user space where the image is rendered * @see #transform * @see #setTransform * @see #setComposite * @see #clip * @see #setClip(Shape) */ public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y){ img = op.filter(img, null); drawImage(img, x, y, null); }
return drawImage(src, dx1, dy1, dx2-dx1, dy2-dy1, observer);
return drawImage(src, dx1, dy1, dx2-dx1, dy2-dy1, observer);
fillRect(x, y, width, height); gc.setPaint(paint); drawImage(img, x, y, width, height, observer);
fillRect(x, y, width, height); gc.setPaint(paint); drawImage(img, x, y, width, height, observer);
fillRect(x, y, width, height); gc.setPaint(paint); drawImage(img, x, y, width, height, observer);
fillRect(dx1, dy1, dx2-dx1, dy2-dy1); gc.setPaint(paint); return drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer);
fillRect(dx1, dy1, dx2-dx1, dy2-dy1); gc.setPaint(paint); return drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer);
fillRect(dx1, dy1, dx2-dx1, dy2-dy1); gc.setPaint(paint); return drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer);