Name

Class Point — Toolkit independent Point class.

Synopsis

 public final class com.­froglogic.­squish.­extension.­Point {

// Public Fields  public int ;

  public int ;

// Public Constructors  public Point();

  public Point(int x,

               int y);


// Public Methods  public boolean equals(java.­lang.­Object obj);

  public java.​­lang.​­String toString();

}

Methods inherited from java.lang.Object: clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

Description

Toolkit independent Point class.

Constructors

Point()

public Point();

Construct a point at origin (0, 0).

Point(int, int)

public Point(int x,

             int y);

Parameters

x

x position of the point

y

y position of the point

Construct a point at location x, y.