XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
phMagick_crop Class Reference

Public Member Functions

 crop (phmagick $p, $width, $height, $top=0, $left=0, $gravity= 'center')
 

Detailed Description

Definition at line 30 of file crop.php.

Member Function Documentation

phMagick_crop::crop ( phmagick  $p,
  $width,
  $height,
  $top = 0,
  $left = 0,
  $gravity = 'center' 
)
Parameters
$widthInteger
$heightInteger
$topInteger - The Y coordinate for the left corner of the crop rectangule
$leftInteger - The X coordinate for the left corner of the crop rectangule
$gravityphMagickGravity - The initial placement of the crop rectangule
Returns
unknown_type

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().

Here is the call graph for this function:


The documentation for this class was generated from the following file: