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