worldScaleX property

double worldScaleX

Returns the horizontal scaling factor of the object relative to its parent and all its ancestors.

Implementation

double get worldScaleX {
  return scaleX * ($parent?.worldScaleX ?? 1);
}