SimpleGeometry:set_origin()
SimpleGeometry:set_origin(x, y)
This method transitions the coordinate system of a geometry object to a new coordinate system with the specified point as the origin on the current coordinate system.
Parameters
| Parameter | Type | Description | 
|---|---|---|
x | number | X-coordinate | 
y | number | Y-Coordinate | 
Return Values
This method doesn't return any value.