SVGTextElementBuilder Class
SVGTextElementBuilder class
Builder class for creating an SVGTextElement, which is used to define text in an SVG document.
public class SVGTextElementBuilder : SVGElementBuilder<SVGTextElement>, IAnimationElementBuilder,
ICompositeAttributeSetter, IDescriptiveElementBuilder, IPaintServerElementBuilder,
IShapeContentElementBuilder, ITextContentPositioningAttributeSetter
Constructors
Properties
Methods
Name | Description |
---|
AddA(Action<SVGAElementBuilder>) | Adds an ‘a’ (anchor) element to the text element, enabling hyperlinking parts of the text. |
AddTextPath(Action<SVGTextPathElementBuilder>) | Adds a ’textPath’ element to the text element, allowing the text to follow a defined path. |
AddTSpan(Action<SVGTSpanElementBuilder>) | Adds a ’tspan’ element to the text element, allowing for fine control over individual sections of the text. |
Attribute(string, string) | |
virtual Build(Document) | |
virtual Build(SVGTextElement) | |
BuildElement(Document) | |
See Also