Class AbstractSVGPathSegList.SVGPathSegArcItem
java.lang.Object
org.apache.batik.dom.svg.AbstractSVGItem
org.apache.batik.dom.svg.SVGPathSegItem
org.apache.batik.dom.svg.AbstractSVGPathSegList.SVGPathSegArcItem
- All Implemented Interfaces:
SVGItem, org.w3c.dom.svg.SVGPathSeg, org.w3c.dom.svg.SVGPathSegArcAbs, org.w3c.dom.svg.SVGPathSegArcRel, org.w3c.dom.svg.SVGPathSegClosePath
- Enclosing class:
AbstractSVGPathSegList
public static class AbstractSVGPathSegList.SVGPathSegArcItem
extends SVGPathSegItem
implements org.w3c.dom.svg.SVGPathSegArcAbs, org.w3c.dom.svg.SVGPathSegArcRel
-
Field Summary
Fields inherited from class SVGPathSegItem
letter, typeFields inherited from class AbstractSVGItem
itemStringValue, parentFields 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
ConstructorsConstructorDescriptionSVGPathSegArcItem(short type, String letter, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag, float x, float y) SVGPathSegArcItem(org.w3c.dom.svg.SVGPathSeg pathSeg) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected StringReturn the string representation of the item.booleanvoidsetAngle(float angle) voidsetLargeArcFlag(boolean largeArcFlag) voidsetR1(float r1) voidsetR2(float r2) voidsetSweepFlag(boolean sweepFlag) voidsetX(float x) voidsetY(float y) Methods inherited from class SVGPathSegItem
getAngle, getPathSegType, getPathSegTypeAsLetter, getR1, getR2, getX, getX1, getX2, getY, getY1, getY2, isLargeArcFlag, isSweepFlag, setX1, setX2, setY1, setY2Methods inherited from class AbstractSVGItem
getParent, getValueAsString, resetAttribute, setParentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.svg.SVGPathSeg
getPathSegType, getPathSegTypeAsLetterMethods inherited from interface org.w3c.dom.svg.SVGPathSegArcAbs
getAngle, getR1, getR2, getX, getYMethods inherited from interface org.w3c.dom.svg.SVGPathSegArcRel
getAngle, getR1, getR2, getX, getY
-
Constructor Details
-
SVGPathSegArcItem
public SVGPathSegArcItem(short type, String letter, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag, float x, float y) -
SVGPathSegArcItem
public SVGPathSegArcItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
-
-
Method Details
-
setX
public void setX(float x) - Specified by:
setXin interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setXin interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setXin classSVGPathSegItem
-
setY
public void setY(float y) - Specified by:
setYin interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setYin interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setYin classSVGPathSegItem
-
setR1
public void setR1(float r1) - Specified by:
setR1in interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setR1in interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setR1in classSVGPathSegItem
-
setR2
public void setR2(float r2) - Specified by:
setR2in interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setR2in interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setR2in classSVGPathSegItem
-
setAngle
public void setAngle(float angle) - Specified by:
setAnglein interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setAnglein interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setAnglein classSVGPathSegItem
-
getSweepFlag
public boolean getSweepFlag()- Specified by:
getSweepFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
getSweepFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcRel
-
setSweepFlag
public void setSweepFlag(boolean sweepFlag) - Specified by:
setSweepFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setSweepFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setSweepFlagin classSVGPathSegItem
-
getLargeArcFlag
public boolean getLargeArcFlag()- Specified by:
getLargeArcFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
getLargeArcFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcRel
-
setLargeArcFlag
public void setLargeArcFlag(boolean largeArcFlag) - Specified by:
setLargeArcFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcAbs- Specified by:
setLargeArcFlagin interfaceorg.w3c.dom.svg.SVGPathSegArcRel- Overrides:
setLargeArcFlagin classSVGPathSegItem
-
getStringValue
Description copied from class:AbstractSVGItemReturn the string representation of the item.- Overrides:
getStringValuein classSVGPathSegItem
-