public class LineRecognizer extends Object implements StrokeRecognizer
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_DIST_THRESH |
static String |
LINE_TYPE_ID
The type ID for lines.
|
Constructor and Description |
---|
LineRecognizer() |
Modifier and Type | Method and Description |
---|---|
RecognitionSet |
strokeCompleted(TimedStroke s)
Invoked when a stroke is completed.
|
RecognitionSet |
strokeModified(TimedStroke s)
Invoked when a stroke has been modified, for example, points
have been added to the stroke.
|
RecognitionSet |
strokeStarted(TimedStroke s)
Invoked when a stroke starts.
|
public static final String LINE_TYPE_ID
public static final double DEFAULT_DIST_THRESH
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
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.