Modifier and Type | Method and Description |
---|---|
Dimension |
cache() |
boolean |
equals(Object other)
Returns if this object is considered equal to the other object.
|
static Dimension |
getCached(int width,
int height) |
Dimension |
set(Dimension r) |
Dimension |
set(int w,
int h) |
Dimension |
set(Rect r) |
String |
toString()
Return a String representation of this object.
|
static Dimension |
unNull(Dimension r) |
public String toString()
Object
public Dimension set(int w, int h)
public boolean equals(Object other)
Object
public static Dimension getCached(int width, int height)
public Dimension cache()