Skip to content
PHP Ecosystem
Explore

TextDecorationLine

API reference › HTML SVG › Values › TextDecorationLine

enumUIAwesome\Html\Svg\Values\TextDecorationLine
Backed bystring
Sourcesrc/Values/TextDecorationLine.php

Represents standardized values for the CSS text-decoration-line property in SVG text decoration.

Provides literal string values for the text-decoration-line keyword options.

See also: Text::textDecoration().

CaseValueDescription
BLINK'blink'blink - Makes the text blink (alternates between visible and invisible).
GRAMMAR_ERROR'grammar-error'grammar-error - Indicates a grammatical error in the text.
LINE_THROUGH'line-through'line-through - Each line of text has a line through the middle.
NONE'none'none - No text decoration is applied.
OVERLINE'overline'overline - Each line of text has a line above it.
SPELLING_ERROR'spelling-error'spelling-error - Indicates a spelling error in the text.
UNDERLINE'underline'underline - Each line of text has a line beneath it.