trait DrawEllipseTrait 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
- 8 src/Plugin/ImageToolkit/Operation/DrawEllipseTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\DrawEllipseTrait
Base trait for image_effects DrawEllipse operations.
Hierarchy
- trait \Drupal\image_effects\Plugin\ImageToolkit\Operation\DrawEllipseTrait
2 files declare their use of DrawEllipseTrait
- DrawEllipse.php in src/
Plugin/ ImageToolkit/ Operation/ gd/ DrawEllipse.php - DrawEllipse.php in src/
Plugin/ ImageToolkit/ Operation/ imagemagick/ DrawEllipse.php
File
- src/
Plugin/ ImageToolkit/ Operation/ DrawEllipseTrait.php, line 8
Namespace
Drupal\image_effects\Plugin\ImageToolkit\OperationView source
trait DrawEllipseTrait {
/**
* {@inheritdoc}
*/
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.',
],
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrawEllipseTrait:: |
protected | function |