Follow us on GitHub

com.google.gwt.maps.client.base
Class Point

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.base.Point

public class Point
extends JavaScriptObject

A point on a two-dimensional plane.

See Point API Doc


Constructor Summary
protected Point()
          A point on a two-dimensional plane.
 
Method Summary
 boolean equals(Point other)
          Compares two Points
 String getToString()
          Returns a string representation of this Point.
 double getX()
          get X coordinate
 double getY()
          get Y coordinate
static Point newInstance(double x, double y)
          creates A point on a two-dimensional plane.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

protected Point()
A point on a two-dimensional plane. use newInstance();

Method Detail

newInstance

public static final Point newInstance(double x,
                                      double y)
creates A point on a two-dimensional plane.

Parameters:
x -
y -

equals

public final boolean equals(Point other)
Compares two Points

Parameters:
other -

getToString

public final String getToString()
Returns a string representation of this Point.


getX

public final double getX()
get X coordinate


getY

public final double getY()
get Y coordinate



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.