Property in MarkupAttribute
Gets the number of text elements in the plain text that this attribute covers.
public int Length { get; internal set; }Property in MarkupAttribute
Gets the position in the plain text where this attribute begins.
public int Position { get; internal set; }public IReadOnlyDictionary<string, MarkupValue> Properties { get; internal set; }Struct in Yarn.Markup
Inherits from System.ValueType
Represents a range of text in a marked-up string.
You do not create instances of this struct yourself. It is created by objects that can parse markup, such as .
: Parses a line of text, and produces a containing the results.
public struct MarkupAttributeGets the number of text elements in the plain text that this attribute covers.
Gets the name of the attribute.
Gets the position in the plain text where this attribute begins.
Gets the properties associated with this attribute.
Property in MarkupAttribute
Gets the name of the attribute.
public string Name { get; internal set; }