org.jplot2d.renderer
Interface ImageFactory
-
- All Known Implementing Classes:
- BufferedImageFactory, GraphicsConfigurationCompatibleImageFactory
public interface ImageFactory
-
-
Field Summary
Fields Modifier and Type Field and Description static java.awt.ColorTRANSPARENT_COLOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidcacheImage(java.awt.image.BufferedImage image)Put the given buffered image into local cache for next usage.java.awt.image.BufferedImagecreateImage(int width, int height)Create a buffered image.java.awt.image.BufferedImagecreateTransparentImage(int width, int height)Create a transparent buffered image.
-
-
-
Method Detail
-
createTransparentImage
java.awt.image.BufferedImage createTransparentImage(int width, int height)Create a transparent buffered image. The image is used by component renderer.- Returns:
- a BufferedImage
-
createImage
java.awt.image.BufferedImage createImage(int width, int height)Create a buffered image. The image is the final image to draw everything.- Returns:
- a BufferedImage
-
cacheImage
void cacheImage(java.awt.image.BufferedImage image)
Put the given buffered image into local cache for next usage.- Parameters:
image-
-
-
DMelt 3.0 © DataMelt by jWork.ORG