Class PolygonElement


public class PolygonElement extends PageGraphicElement
Represents a polygon in a PDF document
  • Constructor Details

    • PolygonElement

      public PolygonElement(PointFloat[] points)
      Constructs a polygon element
      Parameters:
      points - the points to be connected
  • Method Details

    • points

      public PointFloat[] points()
      Gets the polygon points
      Returns:
      the polygon points
    • setPoints

      public void setPoints(PointFloat[] points)
      Sets the polygon points
      Parameters:
      points - the polygon points