org.globus.cog.gui.grapheditor.targets.swing
Interface SwingEdge
- All Known Implementing Classes:
- JArrow, Seg3
- public interface SwingEdge
|
Method Summary |
boolean |
edgeContains(int x,
int y)
|
Rectangle |
getBoundingBox()
Relative to the start point
This is needed because some twisted edges may have
unusual forms that do not fall in the rectangle determined by the
start end end points |
int |
getPointX(int index)
|
int |
getPointY(int index)
|
void |
setPoint(int index,
int width,
int height)
|
setPoint
public void setPoint(int index,
int width,
int height)
getPointX
public int getPointX(int index)
getPointY
public int getPointY(int index)
edgeContains
public boolean edgeContains(int x,
int y)
getBoundingBox
public Rectangle getBoundingBox()
- Relative to the start point
This is needed because some twisted edges may have
unusual forms that do not fall in the rectangle determined by the
start end end points