PHP Class Neos\Media\Domain\Model\Adjustment\AbstractImageAdjustment

Inheritance: extends AbstractAdjustment, implements Neos\Media\Domain\Model\Adjustment\ImageAdjustmentInterface
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$imageVariant Neos\Media\Domain\Model\ImageVariant
$position integer Order in which the adjustment is applied to the ImageVariant

Public Methods

Method Description
getPosition ( ) : integer
setImageVariant ( ImageVariant $imageVariant ) : void Sets the image variant this adjustment belongs to
setPosition ( integer $position )

Method Details

getPosition() public method

public getPosition ( ) : integer
return integer

setImageVariant() public method

Sets the image variant this adjustment belongs to
public setImageVariant ( ImageVariant $imageVariant ) : void
$imageVariant Neos\Media\Domain\Model\ImageVariant
return void

setPosition() public method

public setPosition ( integer $position )
$position integer

Property Details

$imageVariant protected property

protected ImageVariant,Neos\Media\Domain\Model $imageVariant
return Neos\Media\Domain\Model\ImageVariant

$position protected property

Order in which the adjustment is applied to the ImageVariant
protected int $position
return integer