在线文档教程
PHP
Image/GraphicsMagick

Gmagick::rollimage

Gmagick::rollimage

(PECL gmagick >= Unknown)

Gmagick::rollimage — Offsets an image

Description

public Gmagick Gmagick::rollimage ( int $x , int $y )

Offsets an image as defined by x and y.

Parameters

x

The x offset.

y

The y offset.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::resizeimage

Gmagick::rotateimage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagick.rollimage.php