| Modifier and Type | Field and Description |
|---|---|
| pack-priv float | |
| pack-priv float | |
| pack-priv float | |
| pack-priv float |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public WCRectangle | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public float | |
| public int | |
| public int | |
| public int | |
| public int | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public int | |
| public WCRectangle | Returns: true if the specified WCRectangle
and this WCRectangle intersect;
false otherwise.the specified r)WCRectangleDetermines whether or not this |
| public boolean | |
| public void | |
| public void | |
| public String | |
| public void | translate(float
the distance to move this dx, float WCRectangle
along the X axisthe distance to move this dy)WCRectangle
along the Y axisTranslates this |
| public static void |
| h | back to summary |
|---|---|
| pack-priv float h | |
| w | back to summary |
|---|---|
| pack-priv float w | |
| x | back to summary |
|---|---|
| pack-priv float x | |
| y | back to summary |
|---|---|
| pack-priv float y | |
| WCRectangle | back to summary |
|---|---|
| public WCRectangle(float x, float y, float w, float h) | |
| WCRectangle | back to summary |
|---|---|
| public WCRectangle(WCRectangle r) | |
| WCRectangle | back to summary |
|---|---|
| public WCRectangle() | |
| contains | back to summary |
|---|---|
| public boolean contains(WCRectangle r) | |
| createUnion | back to summary |
|---|---|
| public WCRectangle createUnion(WCRectangle r) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getHeight | back to summary |
|---|---|
| public float getHeight() | |
| getIntHeight | back to summary |
|---|---|
| public int getIntHeight() | |
| getIntWidth | back to summary |
|---|---|
| public int getIntWidth() | |
| getIntX | back to summary |
|---|---|
| public int getIntX() | |
| getIntY | back to summary |
|---|---|
| public int getIntY() | |
| getMaxX | back to summary |
|---|---|
| public float getMaxX() | |
| getMaxY | back to summary |
|---|---|
| public float getMaxY() | |
| getMinX | back to summary |
|---|---|
| public float getMinX() | |
| getMinY | back to summary |
|---|---|
| public float getMinY() | |
| getWidth | back to summary |
|---|---|
| public float getWidth() | |
| getX | back to summary |
|---|---|
| public float getX() | |
| getY | back to summary |
|---|---|
| public float getY() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intersection | back to summary |
|---|---|
| public WCRectangle intersection(WCRectangle r) Determines whether or not this
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| setFrame | back to summary |
|---|---|
| public void setFrame(float x, float y, float w, float h) | |
| setFrameFromDiagonal | back to summary |
|---|---|
| public void setFrameFromDiagonal(float x1, float y1, float x2, float y2) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| translate | back to summary |
|---|---|
| public void translate(float dx, float dy) Translates this
| |
| union | back to summary |
|---|---|
| public static void union(WCRectangle src1, WCRectangle src2, WCRectangle dest) | |