SVGBuilderExtensions.TextAnchor
SVGBuilderExtensions.TextAnchor<TBuilder> method
Sets the ’text-anchor’ attribute for an SVG element, defining how the text is horizontally aligned relative to the given point.
public static TBuilder TextAnchor<TBuilder>(this TBuilder builder, TextAnchor textAnchor)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
textAnchor | The text anchor position. |
Return Value
The builder instance for chaining.
See Also
- enum TextAnchor
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG