|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.toolbox.ScribbleRecognizer
public class ScribbleRecognizer
A recognizer that recognizes scribble shapes: /\/\/\/\
Field Summary | |
---|---|
static String |
SCRIBBLE_TYPE_ID
The type ID that is used when scribble objects are recognized. |
Constructor Summary | |
---|---|
ScribbleRecognizer()
|
Method Summary | |
---|---|
RecognitionSet |
strokeCompleted(TimedStroke s)
Compute the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's, the aspect ratio, and the number of corners. |
RecognitionSet |
strokeModified(TimedStroke s)
Return NO_RECOGNITION; this recognizer is not incremental. |
RecognitionSet |
strokeStarted(TimedStroke s)
Return NO_RECOGNITION; this recognizer is not incremental. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SCRIBBLE_TYPE_ID
Constructor Detail |
---|
public ScribbleRecognizer()
Method Detail |
---|
public RecognitionSet strokeCompleted(TimedStroke s)
strokeCompleted
in interface StrokeRecognizer
public RecognitionSet strokeModified(TimedStroke s)
strokeModified
in interface StrokeRecognizer
public RecognitionSet strokeStarted(TimedStroke s)
strokeStarted
in interface StrokeRecognizer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |