imageStretch property

EnumValue get imageStretch

Gets or sets how the Picture's image is stretched within its bounding box. Some images will be a different aspect ratio than their given size or #desiredSize. This property will never change the size of the Picture itself, only the size of the image that is drawn in the Picture's #actualBounds.

Possible values are GraphObject.Fill, GraphObject.Uniform, GraphObject.UniformToFill, and GraphObject.None. The default is GraphObject.Fill.

Implementation

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

Implementation

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