public class Dimensions extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
height |
protected long |
width |
| Constructor and Description |
|---|
Dimensions(long height,
long width)
Dimensions for a photo or video.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getHeight()
Height of the photo/video.
|
long |
getWidth()
Width of the photo/video.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public Dimensions(long height,
long width)
height - Height of the photo/video.width - Width of the photo/video.public long getHeight()
public long getWidth()
public String toStringMultiline()
The returned String may contain newlines.