PHP Class TippingCanoe\Imager\Processing\Resize

Inheritance: implements TippingCanoe\Imager\Processing\Filter
显示文件 Open project: tippingcanoe/imager

Protected Properties

Property Type Description
$height integer
$preserveRatio boolean
$width integer

Public Methods

Method Description
process ( File $file, Image $image, array $config = null )
setHeight ( integer $height )
setPreserveRatio ( boolean $preserveRatio )
setWidth ( integer $width )

Method Details

process() public method

public process ( File $file, Image $image, array $config = null )
$file Symfony\Component\HttpFoundation\File\File
$image TippingCanoe\Imager\Model\Image
$config array

setHeight() public method

public setHeight ( integer $height )
$height integer

setPreserveRatio() public method

public setPreserveRatio ( boolean $preserveRatio )
$preserveRatio boolean

setWidth() public method

public setWidth ( integer $width )
$width integer

Property Details

$height protected_oe property

protected int $height
return integer

$preserveRatio protected_oe property

protected bool $preserveRatio
return boolean

$width protected_oe property

protected int $width
return integer