Maps the given location relative to the viewport origin, to a page location, allowing for zoom and pan of the canvas. This takes into account the offset of the viewport in the page so that what you get back is the mapped position relative to the target element's [left,top] corner. If you wish, you can supply true for 'doNotAdjustForOffset', to suppress that behavior.
toPageLocation(left: number, top: number, doNotAdjustForOffset?: boolean): PointXY;
|doNotAdjustForOffset||boolean||Whether or not to adjust for the offset of the viewport in the page. Defaults to false.|
The mapped location, as a PointXY object.