defaultStretch property

EnumValue get defaultStretch

Gets or sets the Shape#geometryStretch value the Shape should use by default when the Shape#geometryStretch value is GraphObject.None. The default value is GraphObject.Fill. Some figure generators return a Geometry with this property set to GraphObject.Uniform, in order to preserve its aspect ratio when used by a Shape that may have different sizes.

Implementation

_i3.EnumValue get defaultStretch => _i4.getProperty(
      this,
      'defaultStretch',
    );
set defaultStretch (EnumValue value)

Implementation

set defaultStretch(_i3.EnumValue value) {
  _i4.setProperty(
    this,
    'defaultStretch',
    value,
  );
}