scaleX property

  1. @override
num scaleX
override

The horizontal scale (percentage) of the object as applied from the pivot point.

1.0 equals 100% scale.

Scaling the local coordinate system changes the x and y property values, which are defined in whole pixels.

Implementation

@override
num get scaleX => _scaleX;
  1. @override
void scaleX=(num value)
override

Implementation

@override
set scaleX(num value) {
  _scaleX = value;
  _transformationMatrixRefresh = true;
}