org.j3d.aviatrix3d
Interface ImageTextureComponent
- All Known Implementing Classes:
- ImageTextureComponent2D, ImageTextureComponent3D
- public interface ImageTextureComponent
A texture component that wraps an AWT Image.
- Version:
- $Revision: 1.3 $
- Author:
- Alan Hudson
Method Summary |
void |
updateSubImage(int srcX,
int srcY,
int destX,
int destY,
int width,
int height,
int lvl,
java.awt.image.RenderedImage img)
Update a sub-section of the image data with the new pixel values. |
updateSubImage
public void updateSubImage(int srcX,
int srcY,
int destX,
int destY,
int width,
int height,
int lvl,
java.awt.image.RenderedImage img)
throws InvalidWriteTimingException
- Update a sub-section of the image data with the new pixel values. Not
implemented yet.
- Parameters:
srcX
- The starting X offset in the existing image spacesrcY
- The starting Y offset in the existing image spacedestX
- The starting X offset in the existing image spacedestY
- The starting Y offset in the existing image spacewidth
- The width of the section to replaceheight
- The height of the section to replaceimg
- The image to take data from
- Throws:
InvalidWriteTimingException
- An attempt was made to write outside
of the NodeUpdateListener callback method
Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - j3d.org