naturalBounds property

Rect get naturalBounds

This read-only property returns the natural bounds of this TextBlock in local coordinates, as determined by its #font and #text string, and optionally its #desiredSize.

Implementation

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

Implementation

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