yScale property

double yScale

The length of the shadow relative to the height of the object. If the sun is 45ยบ above the horizon, this scale will be 1. When the sun is higher in the sky, the scale factor should be less than 1, and when the sun is lower, the scale factor ought to be greater than 1.

Implementation

double get yScale => _scale;
void yScale=(double value)

Implementation

set yScale(double value) {
  _scale = value;
  _transformMatrix = null;
}