12.3.29. Polygon

A generic polygon

12.3.29.1. Attributes

  • points: the points that make the polygon
  • intersectionMode: the mode for intersection, if the polygon boundary crosses itself. One of @XOR, @INSIDE.
  • area: the area of the polygon
  • perimeter. the perimeter of the polygon

Additionally, all the attributes and methods inherited from shape

12.3.29.2. Methods

12.3.29.3. Examples