Package javaAnd.awt

Class Point


  • public class Point
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double x  
      double y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point​(int x2, int y2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getX()  
      double getY()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        public double x
      • y

        public double y
    • Constructor Detail

      • Point

        public Point​(int x2,
                     int y2)
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • toString

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