using System.Windows; namespace Controls { /// /// A component of the symbol /// public readonly struct TextComponent { /// /// Constructor /// /// /// public TextComponent(string text, BaselineAlignment style = BaselineAlignment.Baseline) { Text = text; Style = style; } /// /// Text of the symbol component /// public readonly string Text; /// /// Style of the symbol component /// public readonly BaselineAlignment Style; } }