A game framework written with osu! in mind.
at master 20 lines 853 B view raw
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. 2// See the LICENCE file in the repository root for full licence text. 3 4using osu.Framework.Graphics.Sprites; 5 6namespace osu.Framework.Graphics.Containers.Markdown 7{ 8 public interface IMarkdownTextComponent 9 { 10 /// <summary> 11 /// Creates a <see cref="SpriteText"/> to display text within this <see cref="IMarkdownTextFlowComponent"/>. 12 /// </summary> 13 /// <remarks> 14 /// The <see cref="SpriteText"/> defined by the <see cref="MarkdownContainer"/> is used by default, 15 /// but may be overridden via this method to provide additional styling local to this <see cref="IMarkdownTextFlowComponent"/>. 16 /// </remarks> 17 /// <returns>The <see cref="SpriteText"/>.</returns> 18 SpriteText CreateSpriteText(); 19 } 20}