Function Particles2D.captureRect

Returns a rectangle containing the positions of all existing particles.

Rect2 captureRect() nothrow @nogc const;