Class Line2D.Iterator

    • Field Detail

      • x1

        double x1
        The x coordinate of the start line point
      • y1

        double y1
        The y coordinate of the start line point
      • x2

        double x2
        The x coordinate of the end line point
      • y2

        double y2
        The y coordinate of the end line point
      • index

        int index
        The current segmenet index
    • Constructor Detail

      • Iterator

        Iterator​(Line2D l,
                 AffineTransform at)
        Constructs a new Line2D.Iterator for given line and transformation
        Parameters:
        l - - the source Line2D object
        at - - the AffineTransform object to apply rectangle path