scaleY property

double scaleY

Returns the vertical scale of the object.

Implementation

double get scaleY {
  return _scaleY;
}
void scaleY=(double? value)

Sets the y-axis scale factor of the object. Throws an error if value is null or NaN. If the value has not changed, does nothing.

Implementation

set scaleY(double? value) {
  if (value?.isNaN ?? true) {
    throw '[$this.scaleY] can not be NaN nor null';
  }
  if (_scaleY == value) {
    return;
  }
  _scaleY = value!;
  $setTransformationChanged();
}