|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.eliad.util.EliadGraphicsUtilities
A room for static geometric methods.
| Method Summary | |
static java.awt.Rectangle |
coalesceRects(java.awt.Rectangle oldRect,
java.awt.Rectangle newRect)
Coalesces two rectangles into one. |
static java.awt.Rectangle[] |
computeDifference(java.awt.Rectangle r0,
java.awt.Rectangle r1)
It is another, more efficient way to implement SwingUtilities.computeDifference |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static java.awt.Rectangle[] computeDifference(java.awt.Rectangle r0,
java.awt.Rectangle r1)
SwingUtilities.computeDifferencer0 - the rectangle from whom subtraction must be done.r1 - the rectangle which must be subtractedr0 not covered by r1.
public static java.awt.Rectangle coalesceRects(java.awt.Rectangle oldRect,
java.awt.Rectangle newRect)
oldRect - the 1st rectanglenewRect - the 2nd rectangle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||