ewe.fx
Class Dimension
java.lang.Object
ewe.fx.Dimension
- All Implemented Interfaces:
- Encodable
- public class Dimension
- extends Object
- implements Encodable
width
public int width
height
public int height
buff
public static Dimension buff
Dimension
public Dimension()
Dimension
public Dimension(int w,
int h)
toString
public String toString()
- Description copied from class:
Object
- Return a String representation of this object.
- Overrides:
toString in class Object
- Returns:
- a String representing this object.
set
public Dimension set(int w,
int h)
set
public Dimension set(Dimension r)
set
public Dimension set(Rect r)
unNull
public static Dimension unNull(Dimension r)
equals
public boolean equals(Object other)
- Description copied from class:
Object
- Returns if this object is considered equal to the other object.
- Overrides:
equals in class Object
- Parameters:
other - Another object to compare to.
- Returns:
- true if this object is considered equal to the other object.