Bitmap:set_origin()
Bitmap:set_origin(x, y)
This method transitions the coordinate system of a bitmap 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.