Point

com.froglogic.squish.extension.Point

Class Point — Toolkit independent Point class.

Synopsis

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

// Public Fields
  public int x ;
  public int y ;

// 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
xx position of the point
yy position of the point

Construct a point at location x, y.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.