Constructor and Description |
---|
Size()
Deprecated.
Instantiates the new
Size . |
Size(int width,
int height)
Deprecated.
Instantiates the new
Size . |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Deprecated.
Gets the height in pixels.
|
int |
getWidth()
Deprecated.
Gets the width in pixels.
|
void |
setHeight(int height)
Deprecated.
Sets the height in pixels.
|
void |
setWidth(int width)
Deprecated.
Sets the width in pixels.
|
public Size(int width, int height)
Size
.width
- the width in pixelsheight
- the height in pixelspublic Size()
Size
.public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)