RectExtension extension
- on
Properties
- area → double
-
Available on Rect, provided by the RectExtension extension
no setter - offset → Offset
-
Available on Rect, provided by the RectExtension extension
no setter
Methods
-
overflow(
Rect other) → EdgeInsets -
Available on Rect, provided by the RectExtension extension
Returns the intersection of this rectangle and the given rectangle. The resulting padding will return 0.0 for all values where the rectangles do not overlap. Each overflow will be positive in it's direction. -
rotate(
double radians, {Offset? origin}) → Rect -
Available on Rect, provided by the RectExtension extension
-
shrink(
EdgeInsets padding) → Rect -
Available on Rect, provided by the RectExtension extension
-
toRRect(
double radius, {double inflate = 0}) → RRect -
Available on Rect, provided by the RectExtension extension