Class PointF

java.lang.Object
org.oscim.core.PointF

public class PointF extends Object
The Class PointF represents a point in 2D.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    float
    The x ordinate
    float
    The y ordinate
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new Point.
    PointF(float x, float y)
    Instantiates a new Point with coordinates x and y.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    float
     
     

    Methods inherited from class java.lang.Object

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

    • x

      public float x
      The x ordinate
    • y

      public float y
      The y ordinate
  • Constructor Details

    • PointF

      public PointF()
      Instantiates a new Point.
    • PointF

      public PointF(float x, float y)
      Instantiates a new Point with coordinates x and y.
      Parameters:
      x - the x
      y - the y
  • Method Details

    • getX

      public float getX()
    • getY

      public float getY()
    • toString

      public String toString()
      Overrides:
      toString in class Object