rotateRight property
CropRotation
get
rotateRight
Returns the rotation rotated 90 degrees to the right.
Implementation
CropRotation get rotateRight {
switch (this) {
case CropRotation.up:
return CropRotation.right;
case CropRotation.right:
return CropRotation.down;
case CropRotation.down:
return CropRotation.left;
case CropRotation.left:
return CropRotation.up;
}
}