operator + method

Radius operator + (Radius other)

Binary addition operator.

Returns a radius whose x value is the sum of the x values of the two operands, and whose y value is the sum of the y values of the two operands.

Implementation

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