imageAlignment property

Spot imageAlignment

Gets or sets the Spot to align the source image to, when the source image is smaller than the Picture. This is only relevant when the #imageStretch property value is not go.GraphObject.Fill.

This does not affect Picture coordinates or bounds, it only affects what is drawn within the given area. The default value is Spot.Center.

Implementation

_i3.Spot get imageAlignment => _i4.getProperty(
      this,
      'imageAlignment',
    );
void imageAlignment=(Spot value)

Implementation

set imageAlignment(_i3.Spot value) {
  _i4.setProperty(
    this,
    'imageAlignment',
    value,
  );
}