[]
Creates a DataBlkInt with 0 dimensions and no data array (i.e. data is null).
public DataBlkInt()
Creates a DataBlkInt with the specified dimensions and position. The data array is initialized to an array of size w*h.
public DataBlkInt(int ulx, int uly, int w, int h)
Type | Name | Description |
---|---|---|
int | ulx | The horizontal coordinate of the upper-left corner of the block |
int | uly | The vertical coordinate of the upper-left corner of the block |
int | w | The width of the block (in pixels) |
int | h | The height of the block (in pixels) |
Copy constructor. Creates a DataBlkInt which is the copy of the DataBlkInt given as paramter.
public DataBlkInt(DataBlkInt src)
Type | Name | Description |
---|---|---|
DataBlkInt | src |