Rectangle<num> bounds

Source

Rectangle<num> get bounds {
  if (_bounds == null) {
    var commands = _getCommands(true);
    var context = new _GraphicsContextBounds();
    _updateContext(context, commands);
    _bounds = context.bounds;
  }
  return _bounds.clone();
}