direction method

num direction(
  1. num px,
  2. num py
)

Compute the angle from this Point to a given (px,py) point. However, if the point is the same as this Point, the direction is zero. @param {number} px @param {number} py @return {number} the angle, in degrees, of the line from this Point to the given point. @see #directionPoint

Implementation

_i2.num direction(
  _i2.num px,
  _i2.num py,
) =>
    _i4.callMethod(
      this,
      'direction',
      [
        px,
        py,
      ],
    );