Forum und email

Imagick::shearImage

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

Imagick::shearImage — Creating a parallelogram

说明

bool Imagick::shearImage ( ImagickPixel $background , float $x_shear , float $y_shear )
Warning

本函数暂无文档,仅有参数列表。

Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

Slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the background color.

参数

background

x_shear

y_shear

返回值

Returns TRUE on success.