|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.positionable.ClipRect
Represents a clipping rectangle, for Components that implement Clippable.
Constructor Summary | |
ClipRect(int size)
Creates a new ClipRect object, defining all dimensions to be the provided value. |
|
ClipRect(int[] dimensions)
Creates a new ClipRect object, defining all dimensions to be the provided array, which must be a 4 element array array. |
|
ClipRect(int xy,
int hw)
Creates a new ClipRect object by defining values for the horizontal and vertical dimensions. |
|
ClipRect(int x,
int y,
int width,
int height)
Creates a new ClipRect object with the given dimension sizes (in pixels). |
Method Summary | |
int |
getHeight()
Returns the size of the height dimension. |
int |
getWidth()
Returns the size of the width dimension. |
int |
getX()
Returns the size of the x dimension. |
int |
getY()
Returns the size of the ydimension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClipRect(int[] dimensions)
dimensions
- - an integer array of 4 elementspublic ClipRect(int size)
size
- The new size.public ClipRect(int xy, int hw)
public ClipRect(int x, int y, int width, int height)
x
- The size of the x dimension.y
- The size of the y dimension.width
- The size of the width dimension.height
- The size of the heightdimension.Method Detail |
public int getHeight()
public int getWidth()
public int getX()
public int getY()
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |