public class Size
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
int |
height |
Height (vertical size)
|
int |
width |
Width (horizontal size)
|
Constructor | Description |
---|---|
Size() |
Constructor.
|
Size(int width,
int height) |
public int width
public int height
public int getWidth()
width
public void setWidth(int width)
width
public int getHeight()
height
public void setHeight(int height)
height
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object