Convert between global and local coordinates

globalToLocal/localToGlobal

globalToLocal method converts the global coordinates of the argument Point object to local coordinates, and conversely, the localToGlobal method converts the local coordinates to global coordinates.

bounds image

Example

Next Chapter