protected function DrawEllipseTrait::arguments in Image Effects 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/ImageToolkit/Operation/DrawEllipseTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\DrawEllipseTrait::arguments()
- 8 src/Plugin/ImageToolkit/Operation/DrawEllipseTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\DrawEllipseTrait::arguments()
File
- src/
Plugin/ ImageToolkit/ Operation/ DrawEllipseTrait.php, line 13
Class
- DrawEllipseTrait
- Base trait for image_effects DrawEllipse operations.
Namespace
Drupal\image_effects\Plugin\ImageToolkit\OperationCode
protected function arguments() {
return [
'cx' => [
'description' => 'x-coordinate of the center.',
],
'cy' => [
'description' => 'y-coordinate of the center.',
],
'width' => [
'description' => 'The ellipse width.',
],
'height' => [
'description' => 'The ellipse height.',
],
'color' => [
'description' => 'The fill color, in RGBA format.',
],
];
}