You are here

public function AbstractAutomatedCrop::getAspectRatio in Automated Crop 8

Get the aspect ratio.

Return value

string The aspect ratio string formatted like `W:H`.

Overrides AutomatedCropInterface::getAspectRatio

1 call to AbstractAutomatedCrop::getAspectRatio()
AbstractAutomatedCrop::setDelta in src/AbstractAutomatedCrop.php
Calculate and set the delta to apply of each size calculation of cropBox.

File

src/AbstractAutomatedCrop.php, line 247

Class

AbstractAutomatedCrop
Provides a base class for each AutomatedCrop provider plugins.

Namespace

Drupal\automated_crop

Code

public function getAspectRatio() {
  return $this->aspectRatio;
}