rotateLeft property

CropRotation get rotateLeft

Returns the rotation rotated 90 degrees to the left.

Implementation

CropRotation get rotateLeft {
  switch (this) {
    case CropRotation.up:
      return CropRotation.left;
    case CropRotation.left:
      return CropRotation.down;
    case CropRotation.down:
      return CropRotation.right;
    case CropRotation.right:
      return CropRotation.up;
  }
}