# Text Drawing The **<svg>** component can also be used to draw text. ## Text > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:** > - The text content must be written in the **<text>** area. The **<tspan>** child element label can be nested. > > - **<text>** can be nested only by the parent element label **svg**. > > - Only the default font **sans-serif** is supported. Set the following attributes to define text styles: **x** (X coordinate), **y** (Y coordinate), **dx** (x-axis offset of the text), **dy** (y-axis offset of the text), **fill** (font fill color), **stroke** (text border color), and **stroke-width** (text border width). ```
Hello World Hello World Hello World
``` ![en-us_image_0000001275803145](figures/en-us_image_0000001275803145.png) ## Drawing Text Along the Path Set **textpath** to draw text along the path. ```
This is textpath test.
``` ![en-us_image_0000001231843084](figures/en-us_image_0000001231843084.png)