Skip to content

Type alias: Project ​

Ƭ Project: (position: XYPosition) => XYPosition

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

Type declaration ​

â–¸ (position): XYPosition

Parameters ​
NameType
positionXYPosition
Returns ​

XYPosition

Released under the MIT License.