normalizeToLocalCenter method
void
normalizeToLocalCenter()
Implementation
void normalizeToLocalCenter() {
final bounds = Rect.fromPoints(start, end);
final centerWorld = bounds.center;
start = start - centerWorld;
end = end - centerWorld;
transform = Transform2D.trs(translation: centerWorld);
}