function imagick_oilpaint_form in Imagick 7
Settings form for the imagick oilpaint effect.
Parameters
$action: The saved action form parameters.
1 string reference to 'imagick_oilpaint_form'
- imagick_image_effect_info in ./
imagick.module - Implements hook_image_effect_info()
File
- effects/
imagick.oilpaint.inc, line 35
Code
function imagick_oilpaint_form($data) {
$data = array_merge(imagick_oilpaint_defaults(), (array) $data);
$form['radius'] = array(
'#type' => 'textfield',
'#title' => t('Radius'),
'#description' => t('The radius of the oilpaint effect.'),
'#default_value' => $data['radius'],
'#size' => 3,
);
return $form;
}