function imagick_sketch_form in Imagick 7
Parameters
$action: The saved action form parameters.
1 string reference to 'imagick_sketch_form'
- imagick_image_effect_info in ./
imagick.module - Implements hook_image_effect_info()
File
- effects/
imagick.sketch.inc, line 37
Code
function imagick_sketch_form($data) {
$data = array_merge(imagick_sketch_defaults(), (array) $data);
$form['radius'] = array(
'#type' => 'textfield',
'#title' => t('Radius'),
'#description' => t('The radius of the Gaussian, in pixels, not counting the center pixel.'),
'#default_value' => $data['radius'],
'#size' => 3,
);
$form['sigma'] = array(
'#type' => 'textfield',
'#title' => t('Sigma'),
'#description' => t('The standard deviation of the Gaussian, in pixels'),
'#default_value' => $data['sigma'],
'#size' => 3,
);
$form['angle'] = array(
'#type' => 'textfield',
'#title' => t('Angle'),
'#description' => t('Apply the effect along this angle.'),
'#default_value' => $data['angle'],
'#size' => 3,
);
return $form;
}