A method to create a point object.
Parameter |
Value |
---|---|
x: number |
x-coordinate. |
y: number |
y-coordinate. |
Return |
Value |
---|---|
object: |
A point set object (SWPoint). |
Example:
var point = SWPoint.create(359583, 406481);