bounds property

GRect? bounds

TODO: should be cached. Returns the bounds of this object in its local coordinate space.

This method should be overridden by subclasses to calculate the correct bounds.

If out is non-null, the resulting bounds will be stored in that object and returned, otherwise a new GRect object will be created and returned.

Implementation

GRect? get bounds {
  return getBounds(this);
}