# DominantBaseline

> Represents literal string values for the SVG dominant-baseline attribute.

[API reference](/docs/api/index.md) › [HTML SVG](/docs/extensions/html-svg/reference/index.md) › [Values](/docs/extensions/html-svg/reference/values/index.md) › DominantBaseline

| enum | `UIAwesome\Html\Svg\Values\DominantBaseline` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/DominantBaseline.php`](https://github.com/ui-awesome/html-svg/blob/main/src/Values/DominantBaseline.php#L14) |

Represents literal string values for the SVG `dominant-baseline` attribute.

Provides the keyword values used by the `dominant-baseline` attribute.

See also: [`Text::dominantBaseline()`](/docs/extensions/html-svg/reference/text/index.md#method-dominantBaseline).

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ALPHABETIC"></span>`ALPHABETIC` | `'alphabetic'` | `alphabetic` - Uses the alphabetic baseline. |
| <span id="case-AUTO"></span>`AUTO` | `'auto'` | `auto` - Uses the computed baseline for the script to which the character belongs. |
| <span id="case-CENTRAL"></span>`CENTRAL` | `'central'` | `central` - Uses the central baseline. |
| <span id="case-HANGING"></span>`HANGING` | `'hanging'` | `hanging` - Uses the hanging baseline. |
| <span id="case-IDEOGRAPHIC"></span>`IDEOGRAPHIC` | `'ideographic'` | `ideographic` - Uses the ideographic baseline. |
| <span id="case-MATHEMATICAL"></span>`MATHEMATICAL` | `'mathematical'` | `mathematical` - Uses the mathematical baseline. |
| <span id="case-MIDDLE"></span>`MIDDLE` | `'middle'` | `middle` - Uses the middle baseline. |
| <span id="case-TEXT_BOTTOM"></span>`TEXT_BOTTOM` | `'text-bottom'` | `text-bottom` - Uses the bottom of the em box as the baseline. |
| <span id="case-TEXT_TOP"></span>`TEXT_TOP` | `'text-top'` | `text-top` - Uses the top of the em box as the baseline. |