Class Line2D.Iterator

java.lang.Object
com.itextpdf.awt.geom.Line2D.Iterator
All Implemented Interfaces:
PathIterator
Enclosing class:
Line2D

class Line2D.Iterator extends Object implements PathIterator
  • Field Details

    • 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
    • t

      The path iterator transformation
    • index

      int index
      The current segmenet index
  • Constructor Details

    • 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
  • Method Details