Skip to content

Function: pointToRendererPoint ​

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

Parameters ​

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

Returns ​

XYPosition

Released under the MIT License.