|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.neu.ccs.gui.ClosureMode
Class ClosureMode encapsulates the choices for the closure
mode of a polygon or bezier cubic curve.
Class ClosureMode cannot be instantiated outside of its own
package.
| Field Summary | |
static ClosureMode |
CLOSED
CLOSED is the ClosureMode corresponding
to a closed polygon or closed bezier curve, that is, limit(length)
returns length. |
static ClosureMode |
OPEN
OPEN is the ClosureMode corresponding
to an open polygon or open bezier curve, that is, limit(length)
returns (length - 1). |
| Constructor Summary | |
(package private) |
ClosureMode()
Default package-private constructor to prevent outside instantiation. |
| Method Summary | |
abstract int |
limit(int length)
Returns the limit index of a graphics computation as a function of the length of the associated vertex or tangent array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ClosureMode CLOSED
CLOSED is the ClosureMode corresponding
to a closed polygon or closed bezier curve, that is, limit(length)
returns length.
OPENpublic static final ClosureMode OPEN
OPEN is the ClosureMode corresponding
to an open polygon or open bezier curve, that is, limit(length)
returns (length - 1).
CLOSED| Constructor Detail |
ClosureMode()
| Method Detail |
public abstract int limit(int length)
length - the length of the associated vertex or tangent array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||