Class InkPoint


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

      Fields 
      Modifier and Type Field Description
      float f
      The point normalised pressure.
      long t
      The point timestamp.
      float x
      The point x coordinate.
      float y
      The point y coordinate.
    • Constructor Summary

      Constructors 
      Constructor Description
      InkPoint()
      Default constructor.
      InkPoint​(float x, float y, long t, float f)
      Constructs a InkPoint
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(@Nullable java.lang.Object obj)  
      int hashCode()  
      @NotNull java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • x

        public float x
        The point x coordinate.
      • y

        public float y
        The point y coordinate.
      • t

        public long t
        The point timestamp.
      • f

        public float f
        The point normalised pressure.
    • Constructor Detail

      • InkPoint

        public InkPoint​(float x,
                        float y,
                        long t,
                        float f)
        Constructs a InkPoint
        Parameters:
        x - the event x coordinate.
        y - the event y coordinate.
        t - the event timestamp.
        f - the event pressure.
      • InkPoint

        public InkPoint()
        Default constructor.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              @Nullable java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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