Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextStrikethroughUnderline.md

17 lines
549 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Strikethrough and Underline
You can add additional lines that run along your text.
- The `<underline>` tag draws the line slightly below the baseline to underline the text. The vertical offset is defined in the [Font Asset](FontAssetsProperties.md#FaceInfo).
- The `<strikethrough>` tag places the line slightly above the baseline so it crosses out the text.
**Example:**
```
The <s>quick brown</s> fox jumps over <u>the lazy dog</u>.
```
![Example image](../images/TMP_RichTextStrikethroughUnderline.png)<br/>
_Strikethrough and underline_