xShift property

double get xShift

The amount of skew the shadow is experiencing. The value of 0 corresponds to the shadow being right behind (or in front of) the object. Positive shift skews the shadow to the right if it's behind the object, or to the left if the shadow is in front of the object. Negative shift skews in the opposite direction.

This property should be determined by the meridian position of the sun.

Implementation

double get xShift => _shift;
set xShift (double value)

Implementation

set xShift(double value) {
  _shift = value;
  _transformMatrix = null;
}