|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.core.helpers.ImageHelper
public final class ImageHelper
Helper class for basic image manipulation
| Constructor Summary | |
|---|---|
private |
ImageHelper()
Private constructor since we want static use only |
| Method Summary | |
|---|---|
static java.awt.image.BufferedImage |
copyImage(java.awt.Image source)
Convenience method for copying an image without passing in an image to copy to. |
static void |
copyImage(java.awt.Image source,
java.awt.image.BufferedImage dest)
Pixel for pixel copy of an image |
static void |
copyImage(java.awt.Image source,
java.awt.image.BufferedImage dest,
java.awt.Point p)
Pixel for pixel copy of an image |
static java.awt.image.BufferedImage |
quickScaleImage(java.awt.image.BufferedImage img,
int width,
int height)
Scale an image to a given width and height |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private ImageHelper()
| Method Detail |
|---|
public static java.awt.image.BufferedImage quickScaleImage(java.awt.image.BufferedImage img,
int width,
int height)
img - width - height -
public static java.awt.image.BufferedImage copyImage(java.awt.Image source)
source -
public static void copyImage(java.awt.Image source,
java.awt.image.BufferedImage dest)
source - dest -
public static void copyImage(java.awt.Image source,
java.awt.image.BufferedImage dest,
java.awt.Point p)
source - dest -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||