Class Point2D.Double

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    Point2D

    public static class Point2D.Double
    extends Point2D
    • Field Detail

      • x

        public double x
      • y

        public double y
    • Constructor Detail

      • Double

        public Double()
      • Double

        public Double​(double x,
                      double y)
    • Method Detail

      • getX

        public double getX()
        Specified by:
        getX in class Point2D
      • getY

        public double getY()
        Specified by:
        getY in class Point2D
      • setLocation

        public void setLocation​(double x,
                                double y)
        Specified by:
        setLocation in class Point2D
      • toString

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