direction static method

num direction(
  1. num px,
  2. num py,
  3. num qx,
  4. num qy,
)

This static function returns the angle in degrees of the line from point P to point Q.

Implementation

static _i2.num direction(
  _i2.num px,
  _i2.num py,
  _i2.num qx,
  _i2.num qy,
) =>
    _i4.callMethod(
      _declaredPoint,
      'direction',
      [
        px,
        py,
        qx,
        qy,
      ],
    );