Class Point2DInt

All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.lang.Cloneable, java.lang.Comparable<InterfaceShape>, AttributeListener, AttributeObject, InterfaceObject, PersistentObject, VariableObject, PopupMenuObject, NamedObject, InterfaceQueryObject, InterfaceShapeQueryObject, ShapeListener, VertexDataColumnListener, InterfaceTransferable, TreeObject, CleanableObject, XMLObject, IconObject

public class Point2DInt
extends Shape2DInt
  • Constructor Details

    • Point2DInt

      public Point2DInt​(Point2D pt)
    • Point2DInt

      public Point2DInt​(Point2D pt, java.awt.Color colour, int size)
  • Method Details

    • draw

      public void draw​(java.awt.Graphics2D g, DrawingEngine d)
      Overrides:
      draw in class Shape2DInt
    • getPoint

      public Point2D getPoint()
    • getSize

      public int getSize()