\rex_effect_rounded_corners

Runde Ecken.

Summary

Methods
Properties
Constants
__construct()
setMedia()
setParams()
execute()
getName()
getParams()
$media
$params
No constants found
keepTransparent()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$params

$params : array<string,mixed>

effekt parameter.

Type

array

Methods

__construct()

__construct() : mixed

Returns

mixed —

setMedia()

setMedia(\rex_managed_media  $media) : mixed

Parameters

\rex_managed_media $media

Returns

mixed —

setParams()

setParams(array<string,mixed>  $params) : mixed

Parameters

array $params

Returns

mixed —

execute()

execute() : mixed

Returns

mixed —

getName()

getName() : string

Returns

string —

getParams()

getParams() : mixed

Returns a array of array items each describing a spec of a input field with which the enduser can configure parameters for this effect.

Example: return [ [ 'label' => rex_i18n::msg('...'), -> a short user-friendly field label 'notice' => rex_i18n::msg('...'), -> additional description. 'name' => 'contrast', -> name of your parameter. this will be the index within $this->params 'type' => 'int', -> scalar storage type 'default' => '', -> default value ], // ... the next input-field spec ];

Returns

mixed —

keepTransparent()

keepTransparent(resource  $gdImage) : mixed

Parameters

resource $gdImage

Returns

mixed —