abstract class AbstractImageAdjustment extends AbstractAdjustment implements ImageAdjustmentInterface (View source)

An abstract image adjustment

Properties

protected int $position

Order in which the adjustment is applied to the ImageVariant

protected ImageVariant $imageVariant

Methods

__construct(array $options = [])

Constructs this adjustment

void
setImageVariant(ImageVariant $imageVariant)

Sets the image variant this adjustment belongs to

int
getPosition()

No description

setPosition(int $position)

No description

Details

__construct(array $options = [])

Constructs this adjustment

Parameters

array $options

configuration options - depends on the actual adjustment

Exceptions

InvalidArgumentException

void setImageVariant(ImageVariant $imageVariant)

Sets the image variant this adjustment belongs to

Parameters

ImageVariant $imageVariant

Return Value

void

int getPosition()

No description

Return Value

int

setPosition(int $position)

No description

Parameters

int $position