maxSize property

Size get maxSize

Gets or sets the maximum size of this GraphObject in container coordinates (either a Panel or the document). Any new value must be of type Size; NaN values are treated as Infinity. If you want no maximum width or height, use NaN or Infinity.

You cannot modify the width or height of the value of this property -- if you want to change the maxSize you must set this property to a different Size. The default value is Infinity by Infinity. A containing Panel will determine the actual size of this object.

Implementation

_i3.Size get maxSize => _i4.getProperty(
      this,
      'maxSize',
    );
set maxSize (Size value)

Implementation

set maxSize(_i3.Size value) {
  _i4.setProperty(
    this,
    'maxSize',
    value,
  );
}