Class Rectangle2D.Iterator

    • Field Detail

      • x

        double x
        The x coordinate of left-upper rectangle corner
      • y

        double y
        The y coordinate of left-upper rectangle corner
      • width

        double width
        The width of rectangle
      • height

        double height
        The height of rectangle
      • index

        int index
        The current segmenet index
    • Constructor Detail

      • Iterator

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