Class Point

java.lang.Object
com.axemble.vdoc.sdk.structs.Point

public class Point extends Object
Simple structure representing the coordinates of an object.
Since:
2.0, 02/12/2010
Version:
1.0
Author:
vlygeros
  • Constructor Summary

    Constructors
    Constructor
    Description
    Point(int x, int y)
    Constructs and initializes a point at the specified location in the coordinate space.
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • Point

      public Point(int x, int y)
      Constructs and initializes a point at the specified location in the coordinate space.
      Parameters:
      x - the X coordinate of the newly constructed Point.
      y - the Y coordinate of the newly constructed Point.
  • Method Details

    • setX

      public void setX(int x)
      Sets the X coordinate.
      Parameters:
      x - The new X coordinate to set.
    • getX

      public int getX()
      Gets the X coordinate.
      Returns:
      An integer value.
    • setY

      public void setY(int y)
      Sets the Y coordinate.
      Parameters:
      y - The new Y coordinate to set.
    • getY

      public int getY()
      Gets the Y coordinate.
      Returns:
      An integer value.