public class BufferedVectorImage extends ResourceVectorImage
It reserves the format Format.CUSTOM_7 from MicroUI.
BufferedImage| Constructor and Description |
|---|
BufferedVectorImage(int width,
int height)
Creates a buffered image that holds the GPU commands.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all commands.
|
GraphicsContext |
getGraphicsContext()
Returns the
GraphicsContext associated with this image, which may be used in order to draw on the image. |
close, isClosed, loadImagefilterImage, getDuration, getHeight, getImage, getWidthpublic BufferedVectorImage(int width,
int height)
A command is added in the image when the image's GraphicsContext is used to draw something into.
width - the width of the new image, in pixelsheight - the height of the new image, in pixelsBufferedImage.getGraphicsContext()public void clear()
public GraphicsContext getGraphicsContext()
GraphicsContext associated with this image, which may be used in order to draw on the image.
This method always returns the same GraphicsContext instance for a specific image. The graphics context
has the same dimensions as the image.
MicroUIException - if this image has been closed (see ResourceVectorImage.close()).