transformDocToView method

Point transformDocToView(
  1. Point p
)

Given a Point in document coordinates, return a new Point in viewport coordinates. @param {Point} p @return {Point} The given Point converted into View coordinates. @see #transformViewToDoc @see GraphObject#getDocumentPoint

Implementation

_i3.Point transformDocToView(_i3.Point p) => _i4.callMethod(
      this,
      'transformDocToView',
      [p],
    );