2 package org.w3c.dom.svg;
4 public interface SVGPathSeg {
5 // Path Segment Types
6 public static final short PATHSEG_UNKNOWN = 0;
7 public static final short PATHSEG_CLOSEPATH = 1;
8 public static final short PATHSEG_MOVETO_ABS = 2;
9 public static final short PATHSEG_MOVETO_REL = 3;
10 public static final short PATHSEG_LINETO_ABS = 4;
11 public static final short PATHSEG_LINETO_REL = 5;
12 public static final short PATHSEG_CURVETO_CUBIC_ABS = 6;
13 public static final short PATHSEG_CURVETO_CUBIC_REL = 7;
14 public static final short PATHSEG_CURVETO_QUADRATIC_ABS = 8;
15 public static final short PATHSEG_CURVETO_QUADRATIC_REL = 9;
16 public static final short PATHSEG_ARC_ABS = 10;
17 public static final short PATHSEG_ARC_REL = 11;
18 public static final short PATHSEG_LINETO_HORIZONTAL_ABS = 12;
19 public static final short PATHSEG_LINETO_HORIZONTAL_REL = 13;
20 public static final short PATHSEG_LINETO_VERTICAL_ABS = 14;
21 public static final short PATHSEG_LINETO_VERTICAL_REL = 15;
22 public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
23 public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
24 public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
25 public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
27 public short getPathSegType( );
28 public String getPathSegTypeAsLetter( );
29 }