编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setFormat
  • Imagick::setImage »
  • PHP Manual
  • Imagick
  • Sets the gravity

Imagick::setGravity

(No version information available, might only be in Git)

Imagick::setGravity — Sets the gravity

说明

Imagick::setGravity ( int $gravity ) : bool

Sets the global gravity property for the Imagick object. 此方法在Imagick基于ImageMagick 6.4.0以上版本编译时可用。

参数

gravity

The gravity property. Refer to the list of gravity constants.

返回值

没有返回值。

相关文章
php imagick gets the gravityphp imagick gets the image gravityphp imagick sets the imagick iterator to the first imagephp imagick sets fontphp imagick sets the format of the imagick objectphp imagick sets the gravityphp imagick sets image alpha channelphp imagick sets the image colorspacephp imagick sets the image composite operatorphp imagick sets the image delayphp imagick sets the image depthphp imagick sets the image gravityphp imagick sets the image iterationsphp imagick sets the image matte channelphp imagick sets the image matte colorphp imagick sets the image opacity levelphp imagick sets the image orientationphp imagick sets the image chromaticity white pointphp imagick sets the image compressionphp imagick sets the imagick iterator to the last image
关注编程学问公众号
编程学问网 湘ICP备20001732号