public class SketchParser extends Object implements ModelParser
Modifier and Type | Field and Description |
---|---|
static String |
COMPOSITE_TAG
Indicate a stroke element.
|
static String |
DTD_1
The DTD for sketch files.
|
static String |
DTD_URL
The URL where the DTD is stored.
|
static String |
FILL_TAG
Indicate the fill to draw the gesture with.
|
static String |
LINEWIDTH_TAG
Indicate the line width to draw the gesture with.
|
static String |
MODEL_TAG
Indicate a sketch model.
|
static String |
OUTLINE_TAG
Indicate the outline to draw the gesture with.
|
static String |
PUBLIC_ID
The public identity of the sketch dtd file.
|
static String |
STROKE_TAG
Indicate a stroke symbol.
|
Constructor and Description |
---|
SketchParser() |
Modifier and Type | Method and Description |
---|---|
Object |
parse(Reader in)
Parse the input stream dictated by the given reader into a
sketch model.
|
static Color |
parseColor(String val)
Return the color object indicated by "val".
|
public static final String PUBLIC_ID
public static final String DTD_URL
public static final String DTD_1
public static final String MODEL_TAG
public static final String STROKE_TAG
public static final String COMPOSITE_TAG
public static final String OUTLINE_TAG
public static final String FILL_TAG
public static final String LINEWIDTH_TAG
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.