File: Text\AttributedTextRun.cs
Web Access
Project: src\src\Graphics\src\Graphics\Graphics.csproj (Microsoft.Maui.Graphics)
namespace Microsoft.Maui.Graphics.Text
{
	public class AttributedTextRun : IAttributedTextRun
	{
		public AttributedTextRun(
			int start,
			int length,
			ITextAttributes attributes)
		{
			Start = start;
			Length = length;
			Attributes = attributes;
		}
 
		public int Start { get; }
 
		public int Length { get; }
 
		public ITextAttributes Attributes { get; }
 
		public override string ToString()
		{
			return $"[AttributedTextRun: Start={Start}, Length={Length}, Attributes={Attributes}]";
		}
	}
}