Package com.evopdf

Class PointFloat

java.lang.Object
com.evopdf.PointFloat

public class PointFloat extends Object
Represents a point with floating point coordinates
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PointFloat
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PointFloat(float x, float y)
    Constructs a point with the given coordinates
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setX(float x)
    Sets the point X coordinate
    void
    setY(float y)
    Sets the the point Y coordinate
    float
    x()
    Gets the point X coordinate
    float
    y()
    Gets the point Y coordinate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PointFloat

      public PointFloat(float x, float y)
      Constructs a point with the given coordinates
      Parameters:
      x - the point X coordinate
      y - the point Y coordinate
  • Method Details

    • x

      public float x()
      Gets the point X coordinate
      Returns:
      the point X coordinate
    • setX

      public void setX(float x)
      Sets the point X coordinate
      Parameters:
      x - the point X coordinate to set
    • y

      public float y()
      Gets the point Y coordinate
      Returns:
      the point Y coordinate
    • setY

      public void setY(float y)
      Sets the the point Y coordinate
      Parameters:
      y - the the point Y coordinate to set