Package com.scriptel.proscript
Class DisplayChunk
- java.lang.Object
-
- com.scriptel.proscript.DisplayChunk
-
public class DisplayChunk extends java.lang.Object
This class represents an image raster that can be transferred to the display on a ScripTouch device.
-
-
Constructor Summary
Constructors Constructor Description DisplayChunk(int x, int y, int width, int height, byte bitsPerPixel, byte[] raster)
Constructor, creates a new raster.
-
-
-
Constructor Detail
-
DisplayChunk
public DisplayChunk(int x, int y, int width, int height, byte bitsPerPixel, byte[] raster)
Constructor, creates a new raster.- Parameters:
x
- The horizontal location of the top left of the image in pixels.y
- The vertical location of the top left of the image in pixels.width
- The width of the image in pixels.height
- The height of the image in pixels.bitsPerPixel
- The number of bits per pixel the raster is encoded with.raster
- The raw raster to be transferred.
-
-