VecRect2f constructor

VecRect2f([
  1. int length = 0,
  2. double x = 0,
  3. double y = 0,
  4. double width = 0,
  5. double height = 0,
])

Implementation

factory VecRect2f([int length = 0, double x = 0, double y = 0, double width = 0, double height = 0]) =>
    VecRect2f.generate(length, (i) => Rect2f(x, y, width, height));