Class TextString
The leaf of the Text tree
public class TextString : ITextChild, ITextNode
- Inheritance
-
TextString
- Implements
- Inherited Members
Constructors
TextString(Shape, string)
public TextString(Shape parent, string text)
Parameters
Properties
Characters
Represents the layout info for the string of text owned by this TextString.
public CharacterLayout[] Characters { get; set; }
Property Value
FirstCharacter
public CharacterLayout FirstCharacter { get; }
Property Value
Index
The index of this TextString in the root TextShape. This is set by the TextRender.
public int Index { get; }
Property Value
LastCharacter
public CharacterLayout LastCharacter { get; }
Property Value
Length
public int Length { get; }
Property Value
Parent
public Shape Parent { get; set; }
Property Value
Text
public string Text { get; }
Property Value
TextStyle
public TextStyle TextStyle { get; }
Property Value
Methods
GetCharacters()
public CharacterLayout[] GetCharacters()
Returns
GetFirstCharacter()
public CharacterLayout GetFirstCharacter()
Returns
GetLastCharacter()
public CharacterLayout GetLastCharacter()
Returns
GetLength()
public int GetLength()
Returns
GetText()
public string GetText()