inflate method
- double delta
Returns a new rectangle with edges moved outwards by the given delta.
Implementation
RelativeRect inflate(double delta) {
return RelativeRect.fromLTRB(left - delta, top - delta, right - delta, bottom - delta);
}
Returns a new rectangle with edges moved outwards by the given delta.
RelativeRect inflate(double delta) {
return RelativeRect.fromLTRB(left - delta, top - delta, right - delta, bottom - delta);
}