HumHub Documentation (unofficial)

RelativeResize
in package
implements FilterInterface

The RelativeResize filter allows images to be resized relative to their existing dimensions.

Table of Contents

Interfaces

FilterInterface
Interface for imagine filters.

Properties

$method  : string
$parameter  : mixed

Methods

__construct()  : mixed
Constructs a RelativeResize filter with the given method and argument.
apply()  : ImageInterface
Applies scheduled transformation to an ImageInterface instance.

Properties

Methods

__construct()

Constructs a RelativeResize filter with the given method and argument.

public __construct(string $method, mixed $parameter) : mixed
Parameters
$method : string

BoxInterface method

$parameter : mixed

Parameter for BoxInterface method


        
On this page

Search results