picturedream.implementation
Class PictureData

java.lang.Object
  |
  +--picturedream.implementation.PictureData

public class PictureData
extends java.lang.Object

Author:
rico.schuster

Field Summary
private  int ivHeight
          the picture height
private  int[] ivPicture
          the picture data, 32 bit, argb
private  int ivWidth
          the picture width
 
Constructor Summary
PictureData()
          Creates a new instance of PictureData
 
Method Summary
 void fill(int value)
          fill the data array
 int[] getData()
           
 int getHeight()
          returns the picture height
 int getWidth()
          returns the picture width
 void rubbish()
           
 void setData(int[] ivPic, int width, int height)
           
 void setDimension(int width, int height)
          creae new Picture array
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ivPicture

private int[] ivPicture
the picture data, 32 bit, argb

ivWidth

private int ivWidth
the picture width

ivHeight

private int ivHeight
the picture height
Constructor Detail

PictureData

public PictureData()
Creates a new instance of PictureData
Method Detail

getData

public int[] getData()

getWidth

public int getWidth()
returns the picture width

getHeight

public int getHeight()
returns the picture height

setData

public void setData(int[] ivPic,
                    int width,
                    int height)

setDimension

public void setDimension(int width,
                         int height)
creae new Picture array

fill

public void fill(int value)
fill the data array

rubbish

public void rubbish()