Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > getViewportPosition

Surface.getViewportPosition() method#

For the given vertex, retrieve its position in the viewport, including any current rotation.

Signature:

getViewportPosition(obj: Vertex): ViewportElement<any>;

Parameters#

ParameterTypeDescription
objVertex

Returns:

ViewportElement<any>