|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GestureList
This class represents a list of gestures in an Ink (Pencil) annotation. A gesture is composed of a list of connected vertices. A gesture list can have any number of gestures to represent a complete pencil annotation.
| Method Summary | |
|---|---|
Vertices |
addGesture()
Add a new gesture to the gesture list. |
Vertices |
getGesture(int index)
Returns the Vertices object that containts the vertices for one gesture. |
int |
getGestureCount()
Returns the number of gestures in this list. |
boolean |
isModified()
Flag indicating whether the gesture list has been modified. |
void |
removeGesture(int index)
Removes a gesture from the list. |
void |
setModified(boolean mod)
Explicitly flag this gesture list as modified. |
| Method Detail |
|---|
Vertices addGesture()
Vertices getGesture(int index)
index - The index of the gesture to get.
int getGestureCount()
void removeGesture(int index)
index - The index of the gesture that needs to be removed.boolean isModified()
void setModified(boolean mod)
mod - New value of the modified flag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||