You are here

public function AutomatedCropInterface::setAutoCropArea in Automated Crop 8

Define the percentage of automatic cropping area when initializes.

This method is useful to zoom with mobile/retina images.

Parameters

int|float $num: The percentage of automatic cropping area.

Return value

self AutomatedCrop plugin object.

1 method overrides AutomatedCropInterface::setAutoCropArea()
AbstractAutomatedCrop::setAutoCropArea in src/AbstractAutomatedCrop.php
Define the percentage of automatic cropping area when initializes.

File

src/AutomatedCropInterface.php, line 149

Class

AutomatedCropInterface
Provides an interface defining the AutomatedCrop plugin objects.

Namespace

Drupal\automated_crop

Code

public function setAutoCropArea($num);