RRect.fromLTRBXY constructor

const RRect.fromLTRBXY(double left double top double right double bottom double radiusX double radiusY)

Construct a rounded rectangle from its left, top, right, and bottom edges, and the same radii along its horizontal axis and its vertical axis.

Implementation

const RRect.fromLTRBXY(double left, double top, double right, double bottom,
                 double radiusX, double radiusY) : this._raw(
  top: top,
  left: left,
  right: right,
  bottom: bottom,
  tlRadiusX: radiusX,
  tlRadiusY: radiusY,
  trRadiusX: radiusX,
  trRadiusY: radiusY,
  blRadiusX: radiusX,
  blRadiusY: radiusY,
  brRadiusX: radiusX,
  brRadiusY: radiusY,
);