VecPoint2f constructor

VecPoint2f([
  1. int length = 0,
  2. double x = 0,
  3. double y = 0
])

Implementation

factory VecPoint2f([int length = 0, double x = 0, double y = 0]) =>
    VecPoint2f.generate(length, (i) => Point2f(x, y));