Skip to content
On this page

Type alias: Project ​

Ƭ Project: (position: XYPosition) => XYPosition

Type declaration ​

â–¸ (position): XYPosition

project a position onto the viewport, i.e. a mouse event clientX/clientY onto graph coordinates

Parameters ​
NameType
positionXYPosition
Returns ​

XYPosition

Released under the MIT License.