/src/main/java/org/htmlunit/util/geometry/Polygon2D.java
private ArrayList<Point2D> points_;
private final ArrayList<Point2D> points_;
package org.htmlunit.util.geometry; import java.util.ArrayList; public class Polygon2D implements Shape2D { <extra_id_0> private final Rectangle2D boundingBox_; public Polygon2D(final double startX, final double startY) { points_ = new ArrayList<>(); points_.add(new Point2D(startX, startY)); boundingBox_ = new Rectangle2D(startX, startY, startX, startY); }