RoundedRectangle.fromPoints constructor

RoundedRectangle.fromPoints(
  1. Vector2 a,
  2. Vector2 b,
  3. double radius
)

Implementation

factory RoundedRectangle.fromPoints(Vector2 a, Vector2 b, double radius) =>
    RoundedRectangle.fromLTRBR(a.x, a.y, b.x, b.y, radius);