---
title: "SVGTextPathElementBuilder class"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/"
product: "Aspose.SVG for Python via .NET API References"
---


## SVGTextPathElementBuilder class

Builder class for creating SVG 'textPath' elements, which are used to align text to a path.



The SVGTextPathElementBuilder type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/__init__/#) | Constructs a new instance of SVGTextPathElementBuilder |


### Methods
| Method | Description |
| :- | :- |
| [build](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/build/#aspose.svg.dom.Document) |  |
| [build](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/build/#aspose.svg.SVGTextPathElement) |  |
| [text_length](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/text_length/#float-aspose.svg.builder.LengthType) | Sets the 'textLength' attribute, specifying the length of the text. |
| [length_adjust](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/length_adjust/#aspose.svg.builder.LengthAdjust) | Sets the 'lengthAdjust' attribute, specifying how text length adjustments are made. |
| [href](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/href/#str) | Sets the 'href' attribute, specifying a reference to a path element. |
| [start_offset](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/start_offset/#float-aspose.svg.builder.LengthType) | Sets the 'startOffset' attribute, specifying the starting position of the text on the path. |
| [method](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/method/#aspose.svg.builder.TextPathMethod) | Sets the 'method' attribute, specifying the text layout method along the path. |
| [spacing](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/spacing/#aspose.svg.builder.TextPathSpacing) | Sets the 'spacing' attribute, specifying the spacing strategy for text along the path. |
| [side](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/side/#aspose.svg.builder.HorizontalEdge) | Sets the 'side' attribute, specifying which side of the path the text is placed on. |
| [build_element](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/build_element/#aspose.svg.dom.Document) | Builds and returns an SVGElement instance based on the current configuration of the builder. |
| [attribute](/svg/python-net/aspose.svg.builder/svgtextpathelementbuilder/attribute/#str-str) | Sets or updates an attribute on an SVG element. |



### See Also
* module [`aspose.svg.builder`](..)
* class [`ISVGElementBuilder`](/svg/python-net/aspose.svg.builder/isvgelementbuilder)
