summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/w3c/dom/svg/SVGPathSeg.java
blob: 698239a985264be3239e6a856fc3462b94196e9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

package org.w3c.dom.svg;

public interface SVGPathSeg {
  // Path Segment Types
  public static final short PATHSEG_UNKNOWN                      = 0;
  public static final short PATHSEG_CLOSEPATH                    = 1;
  public static final short PATHSEG_MOVETO_ABS                   = 2;
  public static final short PATHSEG_MOVETO_REL                   = 3;
  public static final short PATHSEG_LINETO_ABS                   = 4;
  public static final short PATHSEG_LINETO_REL                   = 5;
  public static final short PATHSEG_CURVETO_CUBIC_ABS            = 6;
  public static final short PATHSEG_CURVETO_CUBIC_REL            = 7;
  public static final short PATHSEG_CURVETO_QUADRATIC_ABS        = 8;
  public static final short PATHSEG_CURVETO_QUADRATIC_REL        = 9;
  public static final short PATHSEG_ARC_ABS                      = 10;
  public static final short PATHSEG_ARC_REL                      = 11;
  public static final short PATHSEG_LINETO_HORIZONTAL_ABS        = 12;
  public static final short PATHSEG_LINETO_HORIZONTAL_REL        = 13;
  public static final short PATHSEG_LINETO_VERTICAL_ABS          = 14;
  public static final short PATHSEG_LINETO_VERTICAL_REL          = 15;
  public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS     = 16;
  public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_REL     = 17;
  public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
  public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;

  public short getPathSegType( );
  public String      getPathSegTypeAsLetter( );
}