operator - method

Point<num> operator -(
  1. Point<num> other
)

Subtracts another point (vector subtraction).

Implementation

Point<num> operator -(Point<num> other) => Point(x: x - other.x, y: y - other.y);