Inheritance diagram for PenStrokeListener:
Public Member Functions | |
void | penDown (PenSample sample) |
abstract void | penStroke (InkStroke stroke) |
Notify that a new penstroke has occured. | |
void | penUp (PenSample sample) |
Samples for penUp have x & y set to 0. | |
void | sample (PenSample sample) |
The class also doesn't do any filtering, so if the pen is bad, you will get lots of PenDown/PenUps in rapid succession.
This software is distributed under the BSD License.
Definition at line 27 of file PenStrokeListener.java.
void penDown | ( | PenSample | sample | ) |
Implements PenListener.
Definition at line 34 of file PenStrokeListener.java.
References PenStrokeListener.sample().
abstract void penStroke | ( | InkStroke | stroke | ) | [pure virtual] |
Notify that a new penstroke has occured.
stroke |
Referenced by PenStrokeListener.penUp().
void penUp | ( | PenSample | sample | ) |
Samples for penUp have x & y set to 0.
sample |
Implements PenListener.
Definition at line 53 of file PenStrokeListener.java.
References PenStrokeListener.penStroke().
void sample | ( | PenSample | sample | ) |
Implements PenListener.
Definition at line 72 of file PenStrokeListener.java.
Referenced by PenStrokeListener.penDown().