naturalBounds property

Rect get naturalBounds

This read-only property returns the natural size of this picture as determined by its source's width and height. The value is initially NaN x NaN until the picture has been measured. It will use the #element's naturalWidth and naturalHeight if available.

Implementation

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

Implementation

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