GSPoint
A coordinate that may be used to specify either a pixel coordinate in the map image's coordinate space or a real world coordinate expressed as an NZMG point.
| Field Summary |
| Number | x This point's x coordinate. |
| Number | y This point's y coordinate. |
| Constructor Summary |
GSPoint (x, y) Creates a new GSPoint. |
| Method Summary |
| String | toString() Outputs this point's properties as a String |
Number
x This point's x coordinate. May either be an integer type if this point represents a pixel coordinate or a floating point type if an NZMG coordinate
Number
y This point's y coordinate. May either be an integer type if this point represents a pixel coordinate or a floating point type if an NZMG coordinate
GSPoint(x, y)
Creates a new GSPoint. The new point may optionally be initialized with its x and y values.
String
toString()
Outputs this point's properties as a String
-
this point's properties as a String
Returns: