TextDecorationLine
API reference › HTML SVG › Values › TextDecorationLine
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().
| Case | Value | Description |
|---|---|---|
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. |