php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::swirlimage

Gmagick::swirlimage

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Swirls the pixels about the center of the image

Description

Gmagick::swirlimage(float $degrees): Gmagick

Swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.

Parameters

degrees

Define the tightness of the swirling effect.

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/swirlimage.xml · from the official PHP manual (php/doc-en)