XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
crop (phmagick $p, $width, $height, $top=0, $left=0, $gravity= 'center') | |
phMagick_crop::crop | ( | phmagick | $p, |
$width, | |||
$height, | |||
$top = 0 , |
|||
$left = 0 , |
|||
$gravity = 'center' |
|||
) |
$width | Integer |
$height | Integer |
$top | Integer - The Y coordinate for the left corner of the crop rectangule |
$left | Integer - The X coordinate for the left corner of the crop rectangule |
$gravity | phMagickGravity - The initial placement of the crop rectangule |
Definition at line 40 of file crop.php.
References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phMagickGravity\None, phmagick\setHistory(), and phmagick\setSource().