raja.renderer
Class Resolution
java.lang.Object
|
+--raja.renderer.Resolution
- All Implemented Interfaces:
- Serializable
- public class Resolution
- extends Object
- implements Serializable
- See Also:
- Serialized Form
|
Field Summary |
int |
height
The height resolution. |
int |
width
The width resolution. |
|
Constructor Summary |
Resolution(int width,
int height)
Constructs a Resolution and initializes it to the specified width and
specified height. |
|
Method Summary |
String |
toString()
Returns a textual String representation of this
Resolution object. |
width
public int width
- The width resolution.
height
public int height
- The height resolution.
Resolution
public Resolution(int width,
int height)
- Constructs a Resolution and initializes it to the specified width and
specified height.
- Parameters:
width - the specified width resolutionheight - the specified height resolution
toString
public String toString()
- Returns a textual
String representation of this
Resolution object.
- Overrides:
toString in class Object