mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
Doc clean-up.
This commit is contained in:
parent
b51ab2cc5d
commit
92b92854f6
9
twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/ImageUtil.java
Executable file → Normal file
9
twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/ImageUtil.java
Executable file → Normal 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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user