naturalBounds property
Rect
get
naturalBounds
This read-only property returns the natural bounding rectangle of this GraphObject in local coordinates, before any transformation by #scale or #angle. Defaults to unknown (NaN,NaN).
You must not modify any of the properties of the Rect that is the value of this property.
The value can only be changed by changing properties of the particular GraphObject, such as GraphObject#desiredSize, Shape#geometry, or TextBlock#font.
As with all read-only properties, using this property as a binding source is unlikely to be useful.
Implementation
_i3.Rect get naturalBounds => _i4.getProperty(
this,
'naturalBounds',
);
set
naturalBounds
(Rect value)
Implementation
set naturalBounds(_i3.Rect value) {
_i4.setProperty(
this,
'naturalBounds',
value,
);
}