public class Image
extends java.lang.Object
| Constructor and Description |
|---|
Image(int width,
int height)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getData()
Get method for data
|
int |
getHeight()
Get method for height
|
int |
getWidth()
Get method for width
|
void |
setData(double[] data)
Set method for data
|
void |
setHeight(int height)
Set method for height
|
void |
setWidth(int width)
Set method for width
|
public Image(int width,
int height)
width - Width of the imageheight - Height of the imagepublic double[] getData()
public void setData(double[] data)
data - public int getWidth()
public void setWidth(int width)
width - public int getHeight()
public void setHeight(int height)
height - Copyright © 2007-2021 Samir Vaidya. All Rights Reserved.