Class PathImpl

  • All Implemented Interfaces:
    Path, java.io.Serializable

    public class PathImpl
    extends java.lang.Object
    implements java.io.Serializable, Path
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PathImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex()
      Gets the index.
      double getOffsetX()
      Gets the offset X.
      double getOffsetY()
      Gets the offset Y.
      java.lang.String getPoints()
      Gets the points.
      java.util.List<java.lang.Double> getPointsAsList()
      Gets the points as list.
      void setIndex​(int index)
      Sets the index.
      void setOffsetX​(double offsetX)
      Sets the offset X.
      void setOffsetY​(double offsetY)
      Sets the offset Y.
      void setPoints​(java.lang.String points)
      Sets the points.
      void setPoints​(java.util.List<java.lang.Double> points)
      Sets the points.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PathImpl

        public PathImpl()
    • Method Detail

      • getIndex

        public int getIndex()
        Description copied from interface: Path
        Gets the index.
        Specified by:
        getIndex in interface Path
        Returns:
        the index
      • setIndex

        public void setIndex​(int index)
        Description copied from interface: Path
        Sets the index.
        Specified by:
        setIndex in interface Path
        Parameters:
        index - the index to set
      • getOffsetX

        public double getOffsetX()
        Description copied from interface: Path
        Gets the offset X.
        Specified by:
        getOffsetX in interface Path
        Returns:
        the offsetX
      • setOffsetX

        public void setOffsetX​(double offsetX)
        Description copied from interface: Path
        Sets the offset X.
        Specified by:
        setOffsetX in interface Path
        Parameters:
        offsetX - the offsetX to set
      • getOffsetY

        public double getOffsetY()
        Description copied from interface: Path
        Gets the offset Y.
        Specified by:
        getOffsetY in interface Path
        Returns:
        the offsetY
      • setOffsetY

        public void setOffsetY​(double offsetY)
        Description copied from interface: Path
        Sets the offset Y.
        Specified by:
        setOffsetY in interface Path
        Parameters:
        offsetY - the offsetY to set
      • getPoints

        public java.lang.String getPoints()
        Description copied from interface: Path
        Gets the points.
        Specified by:
        getPoints in interface Path
        Returns:
        the points
      • setPoints

        public void setPoints​(java.lang.String points)
        Description copied from interface: Path
        Sets the points.
        Specified by:
        setPoints in interface Path
        Parameters:
        points - the points to set
      • getPointsAsList

        public java.util.List<java.lang.Double> getPointsAsList()
        Description copied from interface: Path
        Gets the points as list.
        Specified by:
        getPointsAsList in interface Path
        Returns:
        the path points as list
      • setPoints

        public void setPoints​(java.util.List<java.lang.Double> points)
        Description copied from interface: Path
        Sets the points.
        Specified by:
        setPoints in interface Path
        Parameters:
        points - list of path points