function imagick_definecanvas_defaults in Imagick 7
Returns the default settings of this effect.
1 call to imagick_definecanvas_defaults()
- imagick_definecanvas_form in effects/
imagick.definecanvas.inc - Settings form for the imagick definecanvas effect.
1 string reference to 'imagick_definecanvas_defaults'
- imagick_image_effect_info in ./
imagick.module - Implements hook_image_effect_info()
File
- effects/
imagick.definecanvas.inc, line 218
Code
function imagick_definecanvas_defaults() {
return array(
'HEX' => '#FFFFFF',
'under' => TRUE,
'exact_measurements' => TRUE,
'exact' => array(
'width' => '100',
'height' => '100',
'anchor' => 'center-center',
),
'relative' => array(
'leftdiff' => '20',
'rightdiff' => '20',
'topdiff' => '20',
'bottomdiff' => '20',
),
);
}