public class Size extends NativeBase
Modifier and Type | Field and Description |
---|---|
int |
height
The height (vertical size).
|
int |
width
The width (horizontal size).
|
Constructor and 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