RRect.fromLTRBAndCorners constructor
Construct a rounded rectangle from its left, top, right, and bottom edges, and topLeft, topRight, bottomRight, and bottomLeft radii.
The corner radii default to Radius.zero, i.e. right-angled corners.
Implementation
RRect.fromLTRBAndCorners(
double left,
double top,
double right,
double bottom, {
Radius topLeft: Radius.zero,
Radius topRight: Radius.zero,
Radius bottomRight: Radius.zero,
Radius bottomLeft: Radius.zero,
}) {
_value
..[0] = left
..[1] = top
..[2] = right
..[3] = bottom
..[4] = topLeft.x
..[5] = topLeft.y
..[6] = topRight.x
..[7] = topRight.y
..[8] = bottomRight.x
..[9] = bottomRight.y
..[10] = bottomLeft.x
..[11] = bottomLeft.y;
}