org.apache.batik.dom.svg
Class AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem

java.lang.Object
  extended by org.apache.batik.dom.svg.AbstractSVGItem
      extended by org.apache.batik.dom.svg.SVGPathSegItem
          extended by org.apache.batik.dom.svg.AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem
All Implemented Interfaces:
SVGItem, org.w3c.dom.svg.SVGPathSeg, org.w3c.dom.svg.SVGPathSegClosePath, org.w3c.dom.svg.SVGPathSegLinetoAbs, org.w3c.dom.svg.SVGPathSegLinetoRel, org.w3c.dom.svg.SVGPathSegMovetoAbs, org.w3c.dom.svg.SVGPathSegMovetoRel
Enclosing class:
AbstractSVGPathSegList

public class AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem
extends SVGPathSegItem
implements org.w3c.dom.svg.SVGPathSegMovetoAbs, org.w3c.dom.svg.SVGPathSegMovetoRel, org.w3c.dom.svg.SVGPathSegLinetoAbs, org.w3c.dom.svg.SVGPathSegLinetoRel


Field Summary
 
Fields inherited from class org.apache.batik.dom.svg.SVGPathSegItem
letter, type
 
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGItem
itemStringValue, parent
 
Fields inherited from interface org.w3c.dom.svg.SVGPathSeg
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 Summary
AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(short type, String letter, float x, float y)
           
AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
           
 
Method Summary
protected  String getStringValue()
          Return the string representation of the item.
 void setX(float x)
           
 void setY(float y)
           
 
Methods inherited from class org.apache.batik.dom.svg.SVGPathSegItem
getAngle, getPathSegType, getPathSegTypeAsLetter, getR1, getR2, getX, getX1, getX2, getY, getY1, getY2, isLargeArcFlag, isSweepFlag, setAngle, setLargeArcFlag, setR1, setR2, setSweepFlag, setX1, setX2, setY1, setY2
 
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGItem
getParent, getValueAsString, resetAttribute, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.svg.SVGPathSegMovetoAbs
getX, getY
 
Methods inherited from interface org.w3c.dom.svg.SVGPathSegMovetoRel
getX, getY
 
Methods inherited from interface org.w3c.dom.svg.SVGPathSegLinetoAbs
getX, getY
 
Methods inherited from interface org.w3c.dom.svg.SVGPathSegLinetoRel
getX, getY
 
Methods inherited from interface org.w3c.dom.svg.SVGPathSeg
getPathSegType, getPathSegTypeAsLetter
 

Constructor Detail

AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem

public AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(short type,
                                                         String letter,
                                                         float x,
                                                         float y)

AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem

public AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
Method Detail

setX

public void setX(float x)
Specified by:
setX in interface org.w3c.dom.svg.SVGPathSegLinetoAbs
Specified by:
setX in interface org.w3c.dom.svg.SVGPathSegLinetoRel
Specified by:
setX in interface org.w3c.dom.svg.SVGPathSegMovetoAbs
Specified by:
setX in interface org.w3c.dom.svg.SVGPathSegMovetoRel
Overrides:
setX in class SVGPathSegItem

setY

public void setY(float y)
Specified by:
setY in interface org.w3c.dom.svg.SVGPathSegLinetoAbs
Specified by:
setY in interface org.w3c.dom.svg.SVGPathSegLinetoRel
Specified by:
setY in interface org.w3c.dom.svg.SVGPathSegMovetoAbs
Specified by:
setY in interface org.w3c.dom.svg.SVGPathSegMovetoRel
Overrides:
setY in class SVGPathSegItem

getStringValue

protected String getStringValue()
Description copied from class: AbstractSVGItem
Return the string representation of the item.

Overrides:
getStringValue in class SVGPathSegItem


Copyright © 2017 Apache Software Foundation. All Rights Reserved.