1 implementation of IAttributedTextRun
Microsoft.Maui.Graphics (1)
Text\AttributedTextRun.cs (1)
3
public class AttributedTextRun :
IAttributedTextRun
41 references to IAttributedTextRun
Microsoft.Maui.Graphics (39)
Text\AbstractAttributedText.cs (1)
8
public abstract IReadOnlyList<
IAttributedTextRun
> Runs { get; }
Text\AttributedText.cs (2)
9
IReadOnlyList<
IAttributedTextRun
> runs,
19
public override IReadOnlyList<
IAttributedTextRun
> Runs { get; }
Text\AttributedTextExtensions.cs (8)
23
var runs = new List<
IAttributedTextRun
>();
28
internal static List<
IAttributedTextRun
> OptimizeRuns(this IAttributedText attributedText)
38
if (attributedText.Runs is List<
IAttributedTextRun
> list)
48
var runs = new List<
IAttributedTextRun
>();
70
var runs = new List<
IAttributedTextRun
>();
87
IList<
IAttributedTextRun
> runs,
103
var
run = text.Runs[index];
166
foreach (
var
run in text.Runs)
Text\AttributedTextRunComparer.cs (3)
5
public class AttributedTextRunComparer : IComparer<
IAttributedTextRun
>
9
public int Compare(
IAttributedTextRun
first,
IAttributedTextRun
second)
Text\AttributedTextRunExtensions.cs (16)
9
public static int GetEnd(this
IAttributedTextRun
run)
18
this
IAttributedTextRun
first,
19
IAttributedTextRun
second)
31
this
IAttributedTextRun
first,
46
this
IAttributedTextRun
first,
47
IAttributedTextRun
second)
56
this
IAttributedTextRun
first,
66
public static IList<
IAttributedTextRun
> CalculatedIntersections(
67
this
IAttributedTextRun
first,
68
IAttributedTextRun
second)
70
List<
IAttributedTextRun
> intersections = new List<
IAttributedTextRun
>();
156
public static void Optimize(this List<
IAttributedTextRun
> runs, int textLength)
161
var
run = runs[i];
179
IAttributedTextRun
previous = null;
182
var
run = runs[i];
Text\IAttributedText.cs (1)
8
IReadOnlyList<
IAttributedTextRun
> Runs { get; }
Text\MutableAttributedText.cs (4)
7
private List<
IAttributedTextRun
> _runs;
16
public override IReadOnlyList<
IAttributedTextRun
> Runs => _runs;
18
public void AddRun(
IAttributedTextRun
run)
22
_runs = new List<
IAttributedTextRun
> { run };
Text\XmlAttributedTextReader.cs (2)
17
private readonly List<
IAttributedTextRun
> _runs = new List<
IAttributedTextRun
>();
Text\XmlAttributedTextWriter.cs (2)
45
foreach (
var
run in attributedText.Runs)
54
IAttributedTextRun
run,
Microsoft.Maui.Graphics.Text.Markdig (2)
Renderer\AttributedTextRenderer.cs (2)
10
private List<
IAttributedTextRun
> _runs = new List<
IAttributedTextRun
>();