You are here

protected function TextOverlayTrait::arguments in Image Effects 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/ImageToolkit/Operation/TextOverlayTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\TextOverlayTrait::arguments()
  2. 8.2 src/Plugin/ImageToolkit/Operation/TextOverlayTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\TextOverlayTrait::arguments()

File

src/Plugin/ImageToolkit/Operation/TextOverlayTrait.php, line 13

Class

TextOverlayTrait
Base trait for image_effects TextOverlay operations.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation

Code

protected function arguments() {
  return [
    'font_uri' => [
      'description' => 'Font file URI.',
    ],
    'font_size' => [
      'description' => 'Font size.',
    ],
    'font_angle' => [
      'description' => 'Font rotation angle.',
    ],
    'font_color' => [
      'description' => 'Font color.',
    ],
    'font_stroke_mode' => [
      'description' => 'Font stroke mode.',
    ],
    'font_stroke_color' => [
      'description' => 'Font stroke color.',
    ],
    'font_outline_top' => [
      'description' => 'Font outline top in pixels.',
    ],
    'font_outline_right' => [
      'description' => 'Font outline right in pixels.',
    ],
    'font_outline_bottom' => [
      'description' => 'Font outline bottom in pixels.',
    ],
    'font_outline_left' => [
      'description' => 'Font outline left in pixels.',
    ],
    'font_shadow_x_offset' => [
      'description' => 'Font shadow x offset in pixels.',
    ],
    'font_shadow_y_offset' => [
      'description' => 'Font shadow y offset in pixels.',
    ],
    'font_shadow_width' => [
      'description' => 'Font shadow width in pixels.',
    ],
    'font_shadow_height' => [
      'description' => 'Font shadow height in pixels.',
    ],
    'text' => [
      'description' => 'The text string in UTF-8 encoding.',
    ],
    'basepoint' => [
      'description' => 'The basepoint of the text to be overlaid.',
    ],
  ];
}