Doc clean-up.

This commit is contained in:
Harald Kuhr 2009-10-04 17:31:26 +02:00
parent b51ab2cc5d
commit 92b92854f6

View File

@ -629,14 +629,13 @@ public final class ImageUtil {
* Draws the source image onto the buffered image, using * Draws the source image onto the buffered image, using
* {@code AlphaComposite.Src} and coordinates {@code 0, 0}. * {@code AlphaComposite.Src} and coordinates {@code 0, 0}.
* *
* @param pImage the image to draw on * @param pDestination the image to draw on
* @param pSource the source image to draw * @param pSource the source image to draw
* *
* @throws NullPointerException if {@code pImage} or {@code pSource} is * @throws NullPointerException if {@code pDestination} or {@code pSource} is {@code null}
* {@code null}
*/ */
static void drawOnto(final BufferedImage pImage, final Image pSource) { static void drawOnto(final BufferedImage pDestination, final Image pSource) {
Graphics2D g = pImage.createGraphics(); Graphics2D g = pDestination.createGraphics();
try { try {
g.setComposite(AlphaComposite.Src); g.setComposite(AlphaComposite.Src);
g.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_DISABLE); g.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_DISABLE);