public class OMSVGPathSeg
extends com.google.gwt.core.client.JavaScriptObject
OMSVGPathSeg
interface is a base interface
that corresponds to a single command within a path data specification.Modifier and Type | Field and Description |
---|---|
static short |
PATHSEG_ARC_ABS
Corresponds to a "absolute arcto" (A) path data command.
|
static short |
PATHSEG_ARC_REL
Corresponds to a "relative arcto" (a) path data command.
|
static short |
PATHSEG_CLOSEPATH
Corresponds to a "closepath" (z) path data command.
|
static short |
PATHSEG_CURVETO_CUBIC_ABS
Corresponds to a "absolute cubic Bézier curveto" (C) path data command.
|
static short |
PATHSEG_CURVETO_CUBIC_REL
Corresponds to a "relative cubic Bézier curveto" (c) path data command.
|
static short |
PATHSEG_CURVETO_CUBIC_SMOOTH_ABS
Corresponds to a "absolute smooth cubic curveto" (S) path data command.
|
static short |
PATHSEG_CURVETO_CUBIC_SMOOTH_REL
Corresponds to a "relative smooth cubic curveto" (s) path data command.
|
static short |
PATHSEG_CURVETO_QUADRATIC_ABS
Corresponds to a "absolute quadratic Bézier curveto" (Q) path data command.
|
static short |
PATHSEG_CURVETO_QUADRATIC_REL
Corresponds to a "relative quadratic Bézier curveto" (q) path data command.
|
static short |
PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS
Corresponds to a "absolute smooth quadratic curveto" (T) path data command.
|
static short |
PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL
Corresponds to a "relative smooth quadratic curveto" (t) path data command.
|
static short |
PATHSEG_LINETO_ABS
Corresponds to a "absolute lineto" (L) path data command.
|
static short |
PATHSEG_LINETO_HORIZONTAL_ABS
Corresponds to a "absolute horizontal lineto" (H) path data command.
|
static short |
PATHSEG_LINETO_HORIZONTAL_REL
Corresponds to a "relative horizontal lineto" (h) path data command.
|
static short |
PATHSEG_LINETO_REL
Corresponds to a "relative lineto" (l) path data command.
|
static short |
PATHSEG_LINETO_VERTICAL_ABS
Corresponds to a "absolute vertical lineto" (V) path data command.
|
static short |
PATHSEG_LINETO_VERTICAL_REL
Corresponds to a "relative vertical lineto" (v) path data command.
|
static short |
PATHSEG_MOVETO_ABS
Corresponds to a "absolute moveto" (M) path data command.
|
static short |
PATHSEG_MOVETO_REL
Corresponds to a "relative moveto" (m) path data command.
|
static short |
PATHSEG_UNKNOWN
The unit type is not one of predefined types.
|
Modifier | Constructor and Description |
---|---|
protected |
OMSVGPathSeg() |
Modifier and Type | Method and Description |
---|---|
short |
getPathSegType()
The type of the path segment as specified by one of the constants defined
on this interface.
|
String |
getPathSegTypeAsLetter()
The type of the path segment, specified by the corresponding one character
command name.
|
public static final short PATHSEG_UNKNOWN
public static final short PATHSEG_CLOSEPATH
public static final short PATHSEG_MOVETO_ABS
public static final short PATHSEG_MOVETO_REL
public static final short PATHSEG_LINETO_ABS
public static final short PATHSEG_LINETO_REL
public static final short PATHSEG_CURVETO_CUBIC_ABS
public static final short PATHSEG_CURVETO_CUBIC_REL
public static final short PATHSEG_CURVETO_QUADRATIC_ABS
public static final short PATHSEG_CURVETO_QUADRATIC_REL
public static final short PATHSEG_ARC_ABS
public static final short PATHSEG_ARC_REL
public static final short PATHSEG_LINETO_HORIZONTAL_ABS
public static final short PATHSEG_LINETO_HORIZONTAL_REL
public static final short PATHSEG_LINETO_VERTICAL_ABS
public static final short PATHSEG_LINETO_VERTICAL_REL
public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS
public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_REL
public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS
public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL
public final short getPathSegType()
public final String getPathSegTypeAsLetter()
Copyright © 2018. All Rights Reserved.