ImageSizerEngine::setCropExtra()

Set values for cropExtra rectangle, which enables cropping before resizing

Added by

Usage

$self = $imageSizerEngine->setCropExtra(array $value);

Arguments

NameType(s)Description
$valuearray

containing 4 params (x y w h) indexed or associative

Return value

self

Exceptions

Method can throw exceptions on error:

  • WireException - when given invalid value


ImageSizerEngine methods and properties

API reference based on ProcessWire core version 3.0.251