Ellipse.fromLTRB constructor

Ellipse.fromLTRB({
  1. required Offset topLeft,
  2. required Offset bottomRight,
})

Implementation

Ellipse.fromLTRB({
  required Offset topLeft,
  required Offset bottomRight,
}) : _rect = Rect.fromLTRB(
        topLeft.dx,
        topLeft.dy,
        bottomRight.dx,
        bottomRight.dy,
      );