operator - method

Radius operator -(
  1. Radius other
)

Binary subtraction operator.

Returns a radius whose x value is the left-hand-side operand's x minus the right-hand-side operand's x and whose y value is the left-hand-side operand's y minus the right-hand-side operand's y.

Implementation

Radius operator -(Radius other) => Radius.elliptical(x - other.x, y - other.y);