org.apache.batik.dom.svg
public class AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem extends AbstractSVGPathSegList.SVGPathSegItem implements org.w3c.dom.svg.SVGPathSegMovetoAbs, org.w3c.dom.svg.SVGPathSegMovetoRel, org.w3c.dom.svg.SVGPathSegLinetoAbs, org.w3c.dom.svg.SVGPathSegLinetoRel
angle, largeArcFlag, letter, r1, r2, sweepFlag, type, x, x1, x2, y, y1, y2
itemStringValue, parent
PATHSEG_ARC_ABS, PATHSEG_ARC_REL, PATHSEG_CLOSEPATH, PATHSEG_CURVETO_CUBIC_ABS, PATHSEG_CURVETO_CUBIC_REL, PATHSEG_CURVETO_CUBIC_SMOOTH_ABS, PATHSEG_CURVETO_CUBIC_SMOOTH_REL, PATHSEG_CURVETO_QUADRATIC_ABS, PATHSEG_CURVETO_QUADRATIC_REL, PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS, PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL, PATHSEG_LINETO_ABS, PATHSEG_LINETO_HORIZONTAL_ABS, PATHSEG_LINETO_HORIZONTAL_REL, PATHSEG_LINETO_REL, PATHSEG_LINETO_VERTICAL_ABS, PATHSEG_LINETO_VERTICAL_REL, PATHSEG_MOVETO_ABS, PATHSEG_MOVETO_REL, PATHSEG_UNKNOWN
Constructor and Description |
---|
AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(short type,
java.lang.String letter,
float x,
float y) |
AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(org.w3c.dom.svg.SVGPathSeg pathSeg) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getStringValue()
Return the string representation of the item.
|
float |
getX() |
float |
getY() |
void |
setX(float x) |
void |
setY(float y) |
getPathSegType, getPathSegTypeAsLetter
getParent, getValueAsString, resetAttribute, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPathSegType, getPathSegTypeAsLetter
public AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(short type, java.lang.String letter, float x, float y)
public AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
public float getX()
getX
in interface org.w3c.dom.svg.SVGPathSegLinetoAbs
getX
in interface org.w3c.dom.svg.SVGPathSegLinetoRel
getX
in interface org.w3c.dom.svg.SVGPathSegMovetoAbs
getX
in interface org.w3c.dom.svg.SVGPathSegMovetoRel
public float getY()
getY
in interface org.w3c.dom.svg.SVGPathSegLinetoAbs
getY
in interface org.w3c.dom.svg.SVGPathSegLinetoRel
getY
in interface org.w3c.dom.svg.SVGPathSegMovetoAbs
getY
in interface org.w3c.dom.svg.SVGPathSegMovetoRel
public void setX(float x)
setX
in interface org.w3c.dom.svg.SVGPathSegLinetoAbs
setX
in interface org.w3c.dom.svg.SVGPathSegLinetoRel
setX
in interface org.w3c.dom.svg.SVGPathSegMovetoAbs
setX
in interface org.w3c.dom.svg.SVGPathSegMovetoRel
public void setY(float y)
setY
in interface org.w3c.dom.svg.SVGPathSegLinetoAbs
setY
in interface org.w3c.dom.svg.SVGPathSegLinetoRel
setY
in interface org.w3c.dom.svg.SVGPathSegMovetoAbs
setY
in interface org.w3c.dom.svg.SVGPathSegMovetoRel
protected java.lang.String getStringValue()
AbstractSVGItem
getStringValue
in class AbstractSVGPathSegList.SVGPathSegItem
Copyright ? 2008 Apache Software Foundation. All Rights Reserved.