Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextStrikethroughUnderline.md
2024-08-26 23:07:20 +03:00

17 lines
549 B
Markdown

# 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_