RRect class
An immutable rounded rectangle with the custom radii for all four corners.
Constructors
 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 })
 Construct a rounded rectangle from its left, top, right, and bottom edges, and topLeft, topRight, bottomRight, and bottomLeft radii. [...]
 RRect.fromLTRBR(double left, double top, double right, double bottom, Radius radius)
 Construct a rounded rectangle from its left, top, right, and bottom edges, and the same radius in each corner.
 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.
 RRect.fromRectAndCorners(Rect rect, { Radius topLeft: Radius.zero, Radius topRight: Radius.zero, Radius bottomRight: Radius.zero, Radius bottomLeft: Radius.zero })
 Construct a rounded rectangle from its bounding box and and topLeft, topRight, bottomRight, and bottomLeft radii. [...]
 RRect.fromRectAndRadius(Rect rect, Radius radius)
 Construct a rounded rectangle from its bounding box and a radius that is the same in each corner.
 RRect.fromRectXY(Rect rect, double radiusX, double radiusY)
 Construct a rounded rectangle from its bounding box and the same radii along its horizontal axis and its vertical axis.
Properties
 blRadius → Radius

The bottomleft Radius.
readonly
 blRadiusX → double

The bottomleft horizontal radius.
readonly
 blRadiusY → double

The bottomleft vertical radius.
readonly
 bottom → double

The offset of the bottom edge of this rectangle from the y axis.
readonly
 brRadius → Radius

The bottomright Radius.
readonly
 brRadiusX → double

The bottomright horizontal radius.
readonly
 brRadiusY → double

The bottomright vertical radius.
readonly
 center → Offset

The offset to the point halfway between the left and right and the top and
bottom edges of this rectangle.
readonly
 hashCode → int

The hash code for this object. [...]
readonly
 height → double

The distance between the top and bottom edges of this rectangle.
readonly
 isCircle → bool

Whether this rounded rectangle would draw as a circle.
readonly
 isEllipse → bool

Whether this rounded rectangle has no side with a straight section.
readonly
 isEmpty → bool

Whether this rounded rectangle encloses a nonzero area.
Negative areas are considered empty.
readonly
 isFinite → bool

Whether all coordinates of this rounded rectangle are finite.
readonly
 isRect → bool

Whether this rounded rectangle is a simple rectangle with zero
corner radii.
readonly
 isStadium → bool

Whether this rounded rectangle has a side with no straight section.
readonly
 left → double

The offset of the left edge of this rectangle from the x axis.
readonly
 longestSide → double

The greater of the magnitudes of the width and the height of this
rounded rectangle.
readonly
 middleRect → Rect

The rectangle that would be formed using the axisaligned intersection of
the sides of the rectangle, i.e., the rectangle formed from the
innermost centers of the ellipses that form the corners. This is the
intersection of the wideMiddleRect and the tallMiddleRect. If any of
the intersections are void, the resulting Rect will have negative width
or height.
readonly
 outerRect → Rect

The bounding box of this rounded rectangle (the rectangle with no rounded corners).
readonly
 right → double

The offset of the right edge of this rectangle from the x axis.
readonly
 safeInnerRect → Rect

The nonrounded rectangle that is constrained by the smaller of the two
diagonals, with each diagonal traveling through the middle of the curve
corners. The middle of a corner is the intersection of the curve with its
respective quadrant bisector.
readonly
 shortestSide → double

The lesser of the magnitudes of the width and the height of this
rounded rectangle.
readonly
 tallMiddleRect → Rect

The biggest rectangle that is entirely inside the rounded rectangle and
has the full height of the rounded rectangle. If the rounded rectangle
does not have an axisaligned intersection of its top and bottom side, the
resulting Rect will have negative width or height.
readonly
 tlRadius → Radius

The topleft Radius.
readonly
 tlRadiusX → double

The topleft horizontal radius.
readonly
 tlRadiusY → double

The topleft vertical radius.
readonly
 top → double

The offset of the top edge of this rectangle from the y axis.
readonly
 trRadius → Radius

The topright Radius.
readonly
 trRadiusX → double

The topright horizontal radius.
readonly
 trRadiusY → double

The topright vertical radius.
readonly
 wideMiddleRect → Rect

The biggest rectangle that is entirely inside the rounded rectangle and
has the full width of the rounded rectangle. If the rounded rectangle does
not have an axisaligned intersection of its left and right side, the
resulting Rect will have negative width or height.
readonly
 width → double

The distance between the left and right edges of this rectangle.
readonly
 runtimeType → Type

A representation of the runtime type of the object.
readonly, inherited
Methods

contains(
Offset point) → bool  Whether the point specified by the given offset (which is assumed to be relative to the origin) lies inside the rounded rectangle. [...]

deflate(
double delta) → RRect  Returns a new RRect with edges and radii moved inwards by the given delta.

inflate(
double delta) → RRect  Returns a new RRect with edges and radii moved outwards by the given delta.

shift(
Offset offset) → RRect  Returns a new RRect translated by the given offset.

toString(
) → String  Returns a string representation of this object.

noSuchMethod(
Invocation invocation) → dynamic 
Invoked when a nonexistent method or property is accessed. [...]
inherited
Operators

operator ==(
dynamic other) → bool  The equality operator. [...]