All Packages Class Hierarchy This Package Previous Next Index
Class merlin.util.Pattern
java.lang.Object
|
+----merlin.util.Pattern
- public class Pattern
- extends Object
The representation of a pattern.
- Version:
- 1.0
- Author:
- Stefan Hellkvist
-
ascii
-
The meaning of this pattern.
-
Pattern()
- Class constructor.
-
addStroke(Vector)
- Adds a stroke.
-
loadStrokes(String)
- Adds strokes from a file.
-
storeOn(String)
- Store pattern on a file.
-
strokes()
- Returns the strokes as an Enumeration.
ascii
public char ascii
- The meaning of this pattern. What ascii character it represents
Pattern
public Pattern()
- Class constructor.
addStroke
public void addStroke(Vector s)
- Adds a stroke. A stroke is represented as a Vector of Points,
starting with the Point first drawn.
- Parameters:
- s - The stroke
loadStrokes
public void loadStrokes(String filename)
- Adds strokes from a file.
The format of the file is the format used by Rob Kassel in his
PhD-thesis:
A comparison of Approaches to On-line Handwritten Character Recognition
- Parameters:
- s - The filename
storeOn
public void storeOn(String filename)
- Store pattern on a file.
The format of the file is the format used by Rob Kassel in his
PhD-thesis:
A comparison of Approaches to On-line Handwritten Character Recognition
- Parameters:
- s - The filename
strokes
public Enumeration strokes()
- Returns the strokes as an Enumeration.
- Returns:
- The enumeration
All Packages Class Hierarchy This Package Previous Next Index