# Text path and clip path

# Text along a path

Usually, the texts are displayed as a simple straight line of characters. We can rotate, move, or warp the text with .transform(), but we can go to the next level if we define a text that follows a path's shape. As a result, we will have a very flexible text transformation.

The first step is to define in path:

We add the text and create a 'textPath' element within it. This element must be linked to the 'path' that we have created previously.

Finally, we can hide the path, including it in a defs element.

# Clipping Path

The clipPath element, usually included within a defs, along with ".clip_path()" defines the region in which the element's content will be drawn. Any area outside the boundaries set by the clipPath will not be rendered.