naturalBounds property

Rect get naturalBounds

This read-only property returns the natural bounds of this Shape as determined by its #geometry's bounds. The bounds will always include the (0,0) point. If the #desiredSize is set, it returns a Rect with the #desiredSize. If no geometry is available, and no #desiredSize is set, this may have NaN values for the width and height.

Implementation

_i3.Rect get naturalBounds => _i4.getProperty(
      this,
      'naturalBounds',
    );
set naturalBounds (Rect value)

Implementation

set naturalBounds(_i3.Rect value) {
  _i4.setProperty(
    this,
    'naturalBounds',
    value,
  );
}