4 changed files with 4 additions and 49 deletions
@ -1,17 +0,0 @@ |
|||
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; } |
|||
} |
|||
} |
|||
@ -1,9 +0,0 @@ |
|||
namespace Avalonia.Media.TextFormatting |
|||
{ |
|||
/// <summary>
|
|||
/// Specialized text run used to mark a range of hidden characters
|
|||
/// </summary>
|
|||
public class TextHidden : TextRun |
|||
{ |
|||
} |
|||
} |
|||
@ -1,19 +0,0 @@ |
|||
namespace Avalonia.Media.TextFormatting |
|||
{ |
|||
/// <summary>
|
|||
/// Specialized text run used to modify properties of text runs in its scope.
|
|||
/// The scope extends to the next matching EndOfSegment text run (matching
|
|||
/// because text modifiers may be nested), or to the next EndOfParagraph.
|
|||
/// </summary>
|
|||
public abstract class TextModifier : TextRun |
|||
{ |
|||
/// <summary>
|
|||
/// Modifies the properties of a text run.
|
|||
/// </summary>
|
|||
/// <param name="properties">Properties of a text run or the return value of
|
|||
/// ModifyProperties for a nested text modifier.</param>
|
|||
/// <returns>Returns the actual text run properties to be used for formatting,
|
|||
/// subject to further modification by text modifiers at outer scopes.</returns>
|
|||
public abstract TextRunProperties ModifyProperties(TextRunProperties properties); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue