You are here

public function AutomatedCropInterface::anchor in Automated Crop 8

Gets crop anchor (top-left corner of crop area).

Return value

array Array with two keys (x, y) and anchor coordinates as values.

1 method overrides AutomatedCropInterface::anchor()
AbstractAutomatedCrop::anchor in src/AbstractAutomatedCrop.php
Gets crop anchor (top-left corner of crop area).

File

src/AutomatedCropInterface.php, line 48

Class

AutomatedCropInterface
Provides an interface defining the AutomatedCrop plugin objects.

Namespace

Drupal\automated_crop

Code

public function anchor();