You are here

public function AbstractAutomatedCrop::getDelta in Automated Crop 8

Gets the delta of image.

Return value

int|float The delta calculated to apply to your cropBox sizes.

Overrides AutomatedCropInterface::getDelta

1 call to AbstractAutomatedCrop::getDelta()
AutomatedCropDefault::automatedCropBoxCalculation in src/Plugin/AutomatedCrop/AutomatedCropDefault.php
Calculate size automatically based on origin image width.

File

src/AbstractAutomatedCrop.php, line 240

Class

AbstractAutomatedCrop
Provides a base class for each AutomatedCrop provider plugins.

Namespace

Drupal\automated_crop

Code

public function getDelta() {
  return $this->delta;
}