Class TextLocation
Represents a single line of text paired with its vertical position, used to build
multi-line SVG text elements via tspan children.
Inherited Members
Namespace: Syncfusion.Blazor.DataVizCommon
Assembly: Syncfusion.Blazor.dll
Syntax
public class TextLocation
Constructors
TextLocation(string, double)
Initializes a new instance of TextLocation with the specified text content and vertical position.
Declaration
public TextLocation(string text, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text string for this line. |
| double | y | The y-coordinate position of this line. |
Properties
Text
Gets or sets the text string content for this line.
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| string |
Y
Gets or sets the y-coordinate at which this line of text is rendered inside the parent text element.
Declaration
public double Y { get; set; }
Property Value
| Type |
|---|
| double |