You are here

public function Textimage::getHeight in Textimage 8.4

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

Returns the height of the Textimage.

Return value

int|null The height of the Textimage, or NULL if not available.

Overrides TextimageInterface::getHeight

1 call to Textimage::getHeight()
Textimage::setCached in src/Textimage.php
Cache Textimage data.

File

src/Textimage.php, line 440

Class

Textimage
Provides a Textimage.

Namespace

Drupal\textimage

Code

public function getHeight() {
  return $this->processed ? $this->height : NULL;
}