isRotated property

bool isRotated

Returns whether this object has any rotation or skew transformation.

Implementation

bool get isRotated {
  return _rotation != 0 || _skewX != 0 || _skewY != 0;
}