hasReflection property

bool get hasReflection

Whether the transform includes a reflection, i.e. it flips the orientation of the coordinate system.

Implementation

bool get hasReflection => _scale.x.sign * _scale.y.sign == -1;