Package org.apache.batik.dom.svg
Class AbstractSVGNormPathSegList.SVGPathSegGenericItem
java.lang.Object
org.apache.batik.dom.svg.AbstractSVGItem
org.apache.batik.dom.svg.SVGPathSegItem
org.apache.batik.dom.svg.AbstractSVGNormPathSegList.SVGPathSegGenericItem
- All Implemented Interfaces:
SVGItem
,org.w3c.dom.svg.SVGPathSeg
,org.w3c.dom.svg.SVGPathSegClosePath
- Enclosing class:
- AbstractSVGNormPathSegList
-
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
ConstructorsConstructorDescriptionSVGPathSegGenericItem
(short type, String letter, float x1, float y1, float x2, float y2, float x, float y) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setPathSegType
(short type) void
setValue
(float x, float y) void
setValue
(float x1, float y1, float x2, float y2, float x, float y) Methods inherited from class org.apache.batik.dom.svg.SVGPathSegItem
getAngle, getPathSegType, getPathSegTypeAsLetter, getR1, getR2, getStringValue, getX, getX1, getX2, getY, getY1, getY2, isLargeArcFlag, isSweepFlag, setAngle, setLargeArcFlag, setR1, setR2, setSweepFlag, setX, setX1, setX2, setY, setY1, setY2
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGItem
getParent, getValueAsString, resetAttribute, setParent
-
Constructor Details
-
SVGPathSegGenericItem
public SVGPathSegGenericItem(short type, String letter, float x1, float y1, float x2, float y2, float x, float y)
-
-
Method Details
-
setValue
public void setValue(float x1, float y1, float x2, float y2, float x, float y) -
setValue
public void setValue(float x, float y) -
setPathSegType
public void setPathSegType(short type)
-