/**
 * Set Paragraph element text align vertical style.
 *
 * @param mixed $value Text align vertical value.
 *
 * @return self Returns instance of the Paragraph element class.
 *
 * @access public
 */
public function textAlignVertical(string $value): self

Examples

Set Paragraph element text align left using fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render (
  paragraph('Stay RAD!')->textAlignVertical('middle')->h(10)->bg('red');
);

// or with magic method
render (
  paragraph('Stay RAD!')->textAlignVerticalMiddle()->h10()->bgRed();
);

Set Div element text align left using magic classes pipeline

use function Thermage\paragraph;
use function Thermage\render;

// ...

render (
  paragraph('Stay RAD!', 'text-align-vertical-bottom h-10 bg-red')
);
Terminal
$ php thermage.php
Stay RAD!

By default Paragraph element text align vertical style is middle, but you can change it to top or bottom.

Getting Started

Methods