public function AutomatedCropInterface::setAnchor in Automated Crop 8
Set crop anchor (top-left corner of crop area).
Parameters
array $coordinates: An array with (x,y) positions of top left corner of crop box.
Return value
self The plugin object with given (x, y) coordinates properties set.
1 method overrides AutomatedCropInterface::setAnchor()
- AbstractAutomatedCrop::setAnchor in src/
AbstractAutomatedCrop.php - Set crop anchor (top-left corner of crop area).
File
- src/
AutomatedCropInterface.php, line 59
Class
- AutomatedCropInterface
- Provides an interface defining the AutomatedCrop plugin objects.
Namespace
Drupal\automated_cropCode
public function setAnchor(array $coordinates = []);