Revision 43230 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.compat/org.gvsig.compat.api/src/main/java/org/gvsig/compat/lang/GraphicsUtils.java
GraphicsUtils.java | ||
---|---|---|
38 | 38 |
* |
39 | 39 |
*/ |
40 | 40 |
public interface GraphicsUtils { |
41 |
|
|
42 |
/** |
|
43 |
* Create a buffered Image of the given size and type. |
|
44 |
* In this context, buffered image means editable image (admits setRGB etc) |
|
45 |
* |
|
46 |
* @param w width in pixels of the requested image |
|
47 |
* @param h height in pixels of the requested image |
|
48 |
* @param type image type (refers to bands, etc. see {@link Image} |
|
49 |
* @return a buffered (editable) image of the desired size and type |
|
50 |
*/ |
|
51 |
public BufferedImage createBufferedImage(int w, int h, int type); |
|
41 | 52 |
|
42 | 53 |
/** |
43 | 54 |
* Produces a copy of a buffered image with the same graphic content (pixel color) |
Also available in: Unified diff