|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigPoly
org.tigris.gef.presentation.FigInk
public class FigInk
Primitive Fig to paint Ink on a LayerDiagram. Ink is like an open polygon with no fill. The main difference between FigInk and FigPoly is in the way that they are created.
FigPoly,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.tigris.gef.presentation.FigPoly |
|---|
_fixedHandles, _isComplete, _isSelfLoop, _npoints, _rectilinear, _xpoints, _ypoints, FUDGEFACTOR |
| Fields inherited from class org.tigris.gef.presentation.Fig |
|---|
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
| Constructor Summary | |
|---|---|
FigInk()
Construct a new FigInk w/ the given attributes. |
|
FigInk(int x,
int y)
Construct a new FigInk w/ the given point and attributes. |
|
| Method Summary | |
|---|---|
boolean |
contains(int x,
int y)
Reply true iff the given point is inside this FigPoly. |
void |
setFilled(boolean f)
FigInks can never be filled, so do nothing. |
void |
setLineWidth(int w)
Line width of ink must be always be 1, so do nothing |
void |
setRectilinear(boolean r)
FigInks can never be rectilinear, so do nothing. |
| Methods inherited from class org.tigris.gef.presentation.FigPoly |
|---|
addPoint, addPoint, appendTwoPoints, calcBounds, canMoveVertex, cleanUp, clone, countCornersContained, drawDashedPerimeter, findHandle, getClosestPoint, getFirstPoint, getFixedHandles, getGravityPoints, getLastPoint, getNumPoints, getPerimeterLength, getPoint, getPoints, getPointsList, getPolygon, getRectilinear, getXs, getYs, growIfNeeded, hit, insertPoint, intersectsPerimeter, isPerimeterClosed, isReshapable, isResizable, isRotatable, isSelfLoop, moveVertex, OK, paint, prependTwoPoints, removePoint, setBounds, setEndPoints, setFixedHandles, setPoints, setPolygon, setSelfLoop, stuffPointAlongPerimeter, translate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FigInk()
public FigInk(int x,
int y)
| Method Detail |
|---|
public void setLineWidth(int w)
setLineWidth in class Figw - The new lineWidth valuepublic void setFilled(boolean f)
setFilled in class Figpublic void setRectilinear(boolean r)
setRectilinear in class FigPoly
public boolean contains(int x,
int y)
FigPoly
contains in class FigPolyFigCircle,
FigEdge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||