scale property

double get scale
inherited

Shortcut for setting proportional X and Y scale values.

Implementation

double get scale {
  return _scaleX;
}
set scale (double value)
inherited

Sets the X and Y scale values proportionally to value.

Setting value to the same value as the current scale has no effect.

Implementation

set scale(double value) {
  if (value == _scaleX) {
    return;
  }
  _scaleY = _scaleX = value;
  $setTransformationChanged();
}