Skip to content

Function: pointToRendererPoint ​

▸ pointToRendererPoint(«destructured», «destructured», snapToGrid?, «destructured»?): XYPosition

Parameters ​

NameTypeDefault value
«destructured»XYPositionundefined
«destructured»Viewportundefined
snapToGridbooleanfalse
«destructured»[snapX: number, snapY: number]undefined

Returns ​

XYPosition

Released under the MIT License.