screenToBaseSurface method
- required Offset screen,
Converts the specified screen coordinate, relative to the upper-left corner of the scene view, to a location on the base surface in map coordinates.
To call this method, assign a scene to the scene view, ensure that it is loaded and the draw status is DrawStatus.completed.
Parameters:
screen
— The screen coordinate, in pixels. The coordinate of the top left corner of the screen is 0,0.
Return Value: A point object. If an error occurs, returns null.