void rotate(Offset oldOffset, Offset newOffset) { if (_activeRotatePoint != null) { _angle += _calculateAngleBetweenLines(oldOffset, center, newOffset, center); } }