Class SVGPathSegItem

java.lang.Object
org.apache.batik.dom.svg.AbstractSVGItem
org.apache.batik.dom.svg.SVGPathSegItem
All Implemented Interfaces:
SVGItem, org.w3c.dom.svg.SVGPathSeg, org.w3c.dom.svg.SVGPathSegClosePath
Direct Known Subclasses:
AbstractSVGNormPathSegList.SVGPathSegGenericItem, AbstractSVGPathSegList.SVGPathSegArcItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem, AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem, AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem, AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem

public class SVGPathSegItem extends AbstractSVGItem implements org.w3c.dom.svg.SVGPathSeg, org.w3c.dom.svg.SVGPathSegClosePath
Internal representation of the item SVGPathSeg.
  • Field Details

    • type

      protected short type
    • letter

      protected String letter
    • x

      private float x
    • y

      private float y
    • x1

      private float x1
    • y1

      private float y1
    • x2

      private float x2
    • y2

      private float y2
    • r1

      private float r1
    • r2

      private float r2
    • angle

      private float angle
    • largeArcFlag

      private boolean largeArcFlag
    • sweepFlag

      private boolean sweepFlag
  • Constructor Details

    • SVGPathSegItem

      protected SVGPathSegItem()
    • SVGPathSegItem

      public SVGPathSegItem(short type, String letter)
    • SVGPathSegItem

      public SVGPathSegItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
  • Method Details

    • getStringValue

      protected String getStringValue()
      Description copied from class: AbstractSVGItem
      Return the string representation of the item.
      Specified by:
      getStringValue in class AbstractSVGItem
    • getPathSegType

      public short getPathSegType()
      Specified by:
      getPathSegType in interface org.w3c.dom.svg.SVGPathSeg
    • getPathSegTypeAsLetter

      public String getPathSegTypeAsLetter()
      Specified by:
      getPathSegTypeAsLetter in interface org.w3c.dom.svg.SVGPathSeg
    • getR1

      public float getR1()
    • setR1

      public void setR1(float r1)
    • getR2

      public float getR2()
    • setR2

      public void setR2(float r2)
    • getAngle

      public float getAngle()
    • setAngle

      public void setAngle(float angle)
    • isLargeArcFlag

      public boolean isLargeArcFlag()
    • setLargeArcFlag

      public void setLargeArcFlag(boolean largeArcFlag)
    • isSweepFlag

      public boolean isSweepFlag()
    • setSweepFlag

      public void setSweepFlag(boolean sweepFlag)
    • getX

      public float getX()
    • setX

      public void setX(float x)
    • getY

      public float getY()
    • setY

      public void setY(float y)
    • getX1

      public float getX1()
    • setX1

      public void setX1(float x1)
    • getY1

      public float getY1()
    • setY1

      public void setY1(float y1)
    • getX2

      public float getX2()
    • setX2

      public void setX2(float x2)
    • getY2

      public float getY2()
    • setY2

      public void setY2(float y2)