Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Neos
Media
Domain
Model
Adjustment
ResizeImageAdjustment
setRatioMode
Neos\Media\Domain\Model\Adjustment\ResizeImageAdjustment::setRatioMode PHP Méthode
ResizeImageAdjustment Class Documentation
Afficher le fichier
Open project: neos/neos-development-collection
setRatioMode()
public
méthode
Sets ratioMode
public
setRatioMode
(
string
$ratioMode
) :
void
$ratioMode
string
One of the \Neos\Media\Domain\Model\ImageInterface::RATIOMODE_* constants
Résultat
void
public function setRatioMode($ratioMode) { $this->ratioMode = $ratioMode; }
ResizeImageAdjustment
applyToImage
calculateDimensions
calculateOutboundBox
calculateOutboundScalingDimensions
calculateScalingToHeight
calculateScalingToWidth
calculateWithFixedDimensions
canBeApplied
getAllowUpScaling
getHeight
getMaximumHeight
getMaximumWidth
getMinimumHeight
getMinimumWidth
getRatioMode
getWidth
resize
setAllowUpScaling
setHeight
setMaximumHeight
setMaximumWidth
setMinimumHeight
setMinimumWidth
setRatioMode
setWidth