net.silentlycrashing.gestures.preset
Class PostCCWTwirlListener
java.lang.Object
net.silentlycrashing.gestures.GestureListener
net.silentlycrashing.gestures.PostGestureListener
net.silentlycrashing.gestures.preset.PostCCWTwirlListener
- All Implemented Interfaces:
- CCWTwirl
public class PostCCWTwirlListener
- extends PostGestureListener
- implements CCWTwirl
Listens for a counter-clockwise twirl after the movement is completed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostCCWTwirlListener
public PostCCWTwirlListener(PApplet parent,
GestureAnalyzer analyzer)
- Builds a PostCCWTwirlListener covering the entire canvas.
- Parameters:
parent - the parent PAppletanalyzer - the linked GestureAnalyzer
PostCCWTwirlListener
public PostCCWTwirlListener(PApplet parent,
GestureAnalyzer analyzer,
int x,
int y,
int w,
int h)
- Builds a bounded PostCCWTwirlListener.
- Parameters:
parent - the parent PAppletanalyzer - the linked GestureAnalyzerx - the x-coordinate of the bounding Rectangley - the y-coordinate of the bounding Rectanglew - the width of the bounding Rectangleh - the height of the bounding Rectangle
PostCCWTwirlListener
public PostCCWTwirlListener(PApplet parent,
GestureAnalyzer analyzer,
Rectangle bounds)
- Builds a bounded PostCCWTwirlListener.
- Parameters:
parent - the parent PAppletanalyzer - the linked GestureAnalyzerbounds - the bounding Rectangle