diff --git a/engine/src/core/com/jme3/texture/image/ImageRaster.java b/engine/src/core/com/jme3/texture/image/ImageRaster.java index 7b59dbbbc..d4c3bce1e 100644 --- a/engine/src/core/com/jme3/texture/image/ImageRaster.java +++ b/engine/src/core/com/jme3/texture/image/ImageRaster.java @@ -26,9 +26,9 @@ import java.nio.ByteBuffer; * Usage example:
* * Image myImage = ... - * ImageReadWrite imageRW = new ImageReadWrite(myImage); - * imageRW.setPixel(1, 5, ColorRGBA.Green); - * System.out.println( imageRW.getPixel(1, 5) ); // Will print [0.0, 1.0, 0.0, 1.0]. + * ImageRaster raster = new ImageRaster(myImage); + * raster.setPixel(1, 5, ColorRGBA.Green); + * System.out.println( raster.getPixel(1, 5) ); // Will print [0.0, 1.0, 0.0, 1.0]. * * * @author Kirill Vainer