Rectangle<num> bounds

Source

@override
Rectangle<num> get bounds {
  var displayObject = _getDisplayObject();
  return displayObject != null
      ? displayObject.boundsTransformed
      : super.bounds;
}