PHP Interface Neos\Media\Domain\Model\Adjustment\ImageAdjustmentInterface

Inheritance: extends AdjustmentInterface
Exibir arquivo Open project: neos/neos-development-collection

Public Methods

Method Description
applyToImage ( Imagine\Image\ImageInterface $image ) : Imagine\Image\ImageInterface Applies this adjustment to the given Imagine Image object
canBeApplied ( Imagine\Image\ImageInterface $image ) : boolean Check if this Adjustment can or should be applied to its ImageVariant.
setImageVariant ( ImageVariant $imageVariant ) : void Sets the image variant this adjustment belongs to

Method Details

applyToImage() public method

Applies this adjustment to the given Imagine Image object
public applyToImage ( Imagine\Image\ImageInterface $image ) : Imagine\Image\ImageInterface
$image Imagine\Image\ImageInterface
return Imagine\Image\ImageInterface

canBeApplied() public method

Check if this Adjustment can or should be applied to its ImageVariant.
public canBeApplied ( Imagine\Image\ImageInterface $image ) : boolean
$image Imagine\Image\ImageInterface
return boolean

setImageVariant() public method

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