Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Neos
Media
Domain
Model
Adjustment
ResizeImageAdjustment
setRatioMode
Neos\Media\Domain\Model\Adjustment\ResizeImageAdjustment::setRatioMode PHP Method
ResizeImageAdjustment Class Documentation
Show file
Open project: neos/neos-development-collection
setRatioMode()
public
method
Sets ratioMode
public
setRatioMode
(
string
$ratioMode
) :
void
$ratioMode
string
One of the \Neos\Media\Domain\Model\ImageInterface::RATIOMODE_* constants
return
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