![]() |
VOOZH | about |
The swirl() function is an inbuilt function in the Pgmagick library which is used to around the center of the image. The degrees specify the tightness of the swirl.
Syntax:
swirl(angle)Parameters: This function accepts single parameter as mentioned above and described below:
- angle: This parameter stores the angle of the swirl.
Return Value: This function returns the Pgmagick object with image added.
Input Image:
👁 ImageExample 1:
Output:
👁 Image
Example 2: