using Avalonia.Platform;
namespace Avalonia.Media.TextFormatting
{
///
/// A text run that supports drawing content.
///
public abstract class DrawableTextRun : TextRun
{
///
/// Gets the bounds.
///
public abstract Rect Bounds { get; }
///
/// Draws the at the given origin.
///
/// The drawing context.
/// The origin.
public abstract void Draw(IDrawingContextImpl drawingContext, Point origin);
}
}