bounds property

Rectangle<num> bounds

Implementation

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