Class Point

  • All Implemented Interfaces:
    java.io.Serializable

    public class Point
    extends java.lang.Object
    implements java.io.Serializable
    Represents a point. It uses the Number to be compatible with Javascript's Number class.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Point.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point​(java.lang.Number x, java.lang.Number y)  
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Point

        public Point​(java.lang.Number x,
                     java.lang.Number y)
    • Method Detail

      • getX

        public java.lang.Number getX()
      • getY

        public java.lang.Number getY()