PHP Class TippingCanoe\Imager\Processing\Resize

Inheritance: implements TippingCanoe\Imager\Processing\Filter
Afficher le fichier Open project: tippingcanoe/imager

Protected Properties

Свойство Type Description
$height integer
$preserveRatio boolean
$width integer

Méthodes publiques

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

Method Details

process() public méthode

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

setHeight() public méthode

public setHeight ( integer $height )
$height integer

setPreserveRatio() public méthode

public setPreserveRatio ( boolean $preserveRatio )
$preserveRatio boolean

setWidth() public méthode

public setWidth ( integer $width )
$width integer

Property Details

$height protected_oe property

protected int $height
Résultat integer

$preserveRatio protected_oe property

protected bool $preserveRatio
Résultat boolean

$width protected_oe property

protected int $width
Résultat integer