A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
482 B

namespace Avalonia.Media.TextFormatting
{
/// <summary>
/// Specialized text run used to mark the end of a segment, i.e., to end
/// the scope affected by a preceding TextModifier run.
/// </summary>
public class TextEndOfSegment : TextRun
{
public TextEndOfSegment(int textSourceLength)
{
TextSourceLength = textSourceLength;
}
/// <inheritdoc />
public override int TextSourceLength { get; }
}
}