double distance

The magnitude of the offset.

Source

double get distance => math.sqrt(_dx * _dx + _dy * _dy);