edu.stanford.smi.protegex.layout
Interface ActorShape
- All Known Implementing Classes:
- AbstractShape
- public interface ActorShape
Wrapper around knowledge of drawing and boundaries. That is, you can do two
things: (1) Tell the shape to draw itself somewhere (2) Ask the shape to
find a point on its boundary
- Author:
- William Grosso
drawHighlightedShape
public void drawHighlightedShape(Graphics g,
Color shapeColor,
Color borderColor,
boolean fillShape,
Rectangle location)
drawShape
public void drawShape(Graphics g,
Color shapeColor,
boolean fillShape,
Rectangle location)
getBoundaryPointOnLine
public Point getBoundaryPointOnLine(Line line,
Rectangle shapeLocation)
intersectsLineUniquely
public boolean intersectsLineUniquely(Line line,
Rectangle shapeLocation)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.