Serves for move images in a circle round an axis or centre.
- integer [-N, N]; multiples of 360 degrees is allowed as well
- the resulting image cannot be more than 10000x10000 px
- This transformation does not have any dependencies.
See the following examples about the possible ways of usage.
Set the width to 200 px and rotate the image with 45 degrees
use shardimage\shardimagephp\factories\Transformation; $transformations = (new Transformation())->size(200)->rotateCW(45)->background('white');