A game framework written with osu! in mind.
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
4namespace osu.Framework.Graphics.Containers.Markdown
5{
6 public interface IMarkdownTextFlowComponent
7 {
8 /// <summary>
9 /// Creates a <see cref="MarkdownTextFlowContainer"/> to display text within this <see cref="IMarkdownTextFlowComponent"/>.
10 /// </summary>
11 /// <remarks>
12 /// The <see cref="MarkdownTextFlowContainer"/> defined by the <see cref="MarkdownContainer"/> is used by default,
13 /// but may be overridden via this method to provide additional styling local to this <see cref="IMarkdownTextFlowComponent"/>.
14 /// </remarks>
15 /// <returns>The <see cref="MarkdownTextFlowContainer"/>.</returns>
16 MarkdownTextFlowContainer CreateTextFlow();
17 }
18}