|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.concord.biologica.ui.CellArc
CellArc has the information necessary to draw an arc to represent a portion of a cell boundary. This is used by the MeiosisModel code to help views paint the cell boundary during meiosis.
Constructor Summary | |
CellArc(int xLeft,
int yTop,
int width,
int height,
int startAngle,
int spanAngle)
Create a new CellArc |
Method Summary | |
boolean |
contains(int x,
int y)
|
boolean |
contains(java.awt.Rectangle r)
|
int |
getHeight()
Return height |
int |
getSpanAngle()
Return span angle, using the same definition as is used in java.awt.Graphics.drawArc(). |
int |
getStartAngle()
Return start angle |
int |
getWidth()
Return width |
int |
getXLeft()
Return xLeft |
int |
getYTop()
Return yTop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CellArc(int xLeft, int yTop, int width, int height, int startAngle, int spanAngle)
Method Detail |
public boolean contains(int x, int y)
public boolean contains(java.awt.Rectangle r)
public int getXLeft()
public int getYTop()
public int getWidth()
public int getHeight()
public int getStartAngle()
public int getSpanAngle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |