Class PathIteratorSegment

    • Constructor Summary

      Constructors 
      Constructor Description
      PathIteratorSegment()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getSegmentType()
      Returns the segment type for this PathIterator segment.
      float getX1()
      Returns the x coordinate of the first parameter point.
      float getX2()
      Returns the x coordinate of the second parameter point.
      float getX3()
      Returns the x coordinate of the third parameter point.
      float getY1()
      Returns the y coordinate of the first parameter point.
      float getY2()
      Returns the y coordinate of the second parameter point.
      float getY3()
      Returns the y coordinate of the third parameter point.
      void setSegmentType​(int segmentType)
      Defines the segment type for this PathIterator segment.
      void setX1​(float x1)
      Defines the x coordinate of the first parameter point.
      void setX2​(float x2)
      Defines the x coordinate of the second parameter point.
      void setX3​(float x3)
      Defines the x coordinate of the third parameter point.
      void setY1​(float y1)
      Defines the y coordinate of the first parameter point.
      void setY2​(float y2)
      Defines the y coordinate of the second parameter point.
      void setY3​(float y3)
      Defines the y coordinate of the third parameter point.
    • Constructor Detail

      • PathIteratorSegment

        public PathIteratorSegment()
        Default constructor.
    • Method Detail

      • getSegmentType

        public int getSegmentType()
        Returns the segment type for this PathIterator segment.
        Returns:
        the type of the segment, one of the predefined constants of the class PathIterator.
      • setSegmentType

        public void setSegmentType​(int segmentType)
        Defines the segment type for this PathIterator segment.
        Parameters:
        segmentType - the type of the segment, one of the predefined constants of the class PathIterator.
      • getX1

        public float getX1()
        Returns the x coordinate of the first parameter point.
        Returns:
        x coordinate of the first parameter point.
      • setX1

        public void setX1​(float x1)
        Defines the x coordinate of the first parameter point.
        Parameters:
        x1 - the x coordinate of the first parameter point.
      • getY1

        public float getY1()
        Returns the y coordinate of the first parameter point.
        Returns:
        y coordinate of the first parameter point.
      • setY1

        public void setY1​(float y1)
        Defines the y coordinate of the first parameter point.
        Parameters:
        y1 - the y coordinate of the first parameter point.
      • getX2

        public float getX2()
        Returns the x coordinate of the second parameter point.
        Returns:
        x coordinate of the second parameter point.
      • setX2

        public void setX2​(float x2)
        Defines the x coordinate of the second parameter point.
        Parameters:
        x2 - the x coordinate of the second parameter point.
      • getY2

        public float getY2()
        Returns the y coordinate of the second parameter point.
        Returns:
        y coordinate of the second parameter point.
      • setY2

        public void setY2​(float y2)
        Defines the y coordinate of the second parameter point.
        Parameters:
        y2 - the y coordinate of the second parameter point.
      • getX3

        public float getX3()
        Returns the x coordinate of the third parameter point.
        Returns:
        x coordinate of the third parameter point.
      • setX3

        public void setX3​(float x3)
        Defines the x coordinate of the third parameter point.
        Parameters:
        x3 - the x coordinate of the third parameter point.
      • getY3

        public float getY3()
        Returns the y coordinate of the third parameter point.
        Returns:
        y coordinate of the third parameter point.
      • setY3

        public void setY3​(float y3)
        Defines the y coordinate of the third parameter point.
        Parameters:
        y3 - the y coordinate of the third parameter point.