• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Gmagick::swirlimage()

    (PECL gmagick >= Unknown)

    Swirls the pixels about the center of the image

    说明

    publicGmagick::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.

    参数

    $degrees

    Define the tightness of the swirling effect.

    返回值

    The Gmagick object on success

    错误/异常

    错误时抛出GmagickException