midpoint property
Vector2
get
midpoint
The point in the center of this line segment.
Implementation
Vector2 get midpoint => (from + to)..scale(0.5);
The point in the center of this line segment.
Vector2 get midpoint => (from + to)..scale(0.5);