Class ToolCreatePolygon2D

java.lang.Object
mgui.interfaces.tools.graphics.Tool2D
mgui.interfaces.tools.shapes.ToolCreatePolygon2D
All Implemented Interfaces:
java.lang.Cloneable, PopupMenuObject, Tool, ToolInputListener, IconObject
Direct Known Subclasses:
ToolRuler2D, ToolTestInternalPoint2D

public class ToolCreatePolygon2D
extends Tool2D
Allows the user to creates a Polygon2D shape.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Details

    • thisPoly

      protected Polygon2DInt thisPoly
    • startPt

      protected org.jogamp.vecmath.Point2f startPt
    • nextPt

      protected org.jogamp.vecmath.Point2f nextPt
    • lastPt

      protected java.awt.Point lastPt
    • screenStartPt

      protected java.awt.Point screenStartPt
    • close

      public boolean close
  • Constructor Details

    • ToolCreatePolygon2D

      public ToolCreatePolygon2D()
    • ToolCreatePolygon2D

      public ToolCreatePolygon2D​(boolean close)
  • Method Details