|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.epiphan.vga2usb.Size
Image dimensions.
| Constructor Summary | |
Size(int width,
int height)
Creates a Size object. |
|
| Method Summary | |
Object |
clone()
Clones this object. |
boolean |
equals(Object obj)
Compares this object with another. |
int |
getHeight()
Gets the height in pixels. |
int |
getWidth()
Gets the width in pixels. |
int |
hashCode()
Gets the hash code for this object. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Size(int width,
int height)
Size object.
width - the width in pixels.height - the height in pixels
IllegalArgumentException - if either width or
height is negative.| Method Detail |
public Object clone()
public boolean equals(Object obj)
obj - the object to compare with.
true if the objects are equal,
false otherwise.public int getHeight()
public int getWidth()
public int hashCode()
public String toString()
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||