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 * _scale.y < 0;