You are here

public function Textimage::setGifTransparentColor in Textimage 8.3

Same name and namespace in other branches
  1. 8.4 src/Textimage.php \Drupal\textimage\Textimage::setGifTransparentColor()

Set the RGB hex color to be used for GIF images.

Parameters

string $color: The color to be used for transparent.

Return value

$this

Overrides TextimageInterface::setGifTransparentColor

File

src/Textimage.php, line 323

Class

Textimage
Provides a Textimage.

Namespace

Drupal\textimage

Code

public function setGifTransparentColor($color) {
  return $this
    ->set('gifTransparentColor', $color);
}