Interface GraphVizTokensIterator
-
- All Known Implementing Classes:
GraphVizTokens,GraphVizTokensLazyIterator
public interface GraphVizTokensIteratorKeeps a collection of tokens and allows fast iteration.- Author:
- sleemans
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiditEval()Evaluate the bezier last returned by itNext()doubleitGetOpacity()intitGetPosition()intitGetTraceIndex()doubleitGetX()doubleitGetY()booleanitHasNext()Default iterator.hasNext()voiditInit(double time)Initialises the iterator on a particular time.intitNext()Default iterator.next()
-
-
-
Method Detail
-
itInit
void itInit(double time)
Initialises the iterator on a particular time.- Parameters:
time-
-
itNext
int itNext()
Default iterator.next()- Returns:
-
itHasNext
boolean itHasNext()
Default iterator.hasNext()- Returns:
-
itGetPosition
int itGetPosition()
- Returns:
- the index of the bezier last returned by itNext()
-
itEval
void itEval()
Evaluate the bezier last returned by itNext()
-
itGetOpacity
double itGetOpacity()
- Returns:
- the opacity of the last bezier itEval() was called on.
-
itGetX
double itGetX()
- Returns:
- the x of the last bezier itEval() was called on.
-
itGetY
double itGetY()
- Returns:
- the y of the last bezier itEval() was called on.
-
itGetTraceIndex
int itGetTraceIndex()
- Returns:
- the current trace index.
-
-