Class Point2DInt

  • All Implemented Interfaces:
    java.lang.Cloneable, Pointable

    public class Point2DInt
    extends java.awt.geom.Point2D
    implements Pointable
    • Constructor Detail

      • Point2DInt

        public Point2DInt​(int x,
                          int y)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getXint

        public int getXint()
      • getYint

        public int getYint()
      • getX

        public double getX()
        Specified by:
        getX in class java.awt.geom.Point2D
      • getY

        public double getY()
        Specified by:
        getY in class java.awt.geom.Point2D
      • setLocation

        public void setLocation​(double x,
                                double y)
        Specified by:
        setLocation in class java.awt.geom.Point2D
      • translate

        public Point2DInt translate​(int deltaX,
                                    int deltaY)
      • inflateX

        public Point2DInt inflateX​(int xpos,
                                   int inflation)
      • inflateY

        public Point2DInt inflateY​(int ypos,
                                   int inflation)