Add xmldoc

This commit is contained in:
Dean Herbert 2022-09-09 17:39:54 +09:00
parent 27f745b980
commit 648c6245bb

View File

@ -1,8 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
#nullable disable
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using osu.Framework.Graphics; using osu.Framework.Graphics;
@ -14,6 +12,9 @@ using osuTK.Graphics;
namespace osu.Game.Graphics.Sprites namespace osu.Game.Graphics.Sprites
{ {
/// <summary>
/// A wrapped version of <see cref="OsuSpriteText"/> which will expand in size based on text content, but never shrink back down.
/// </summary>
public class SizePreservingSpriteText : CompositeDrawable public class SizePreservingSpriteText : CompositeDrawable
{ {
private readonly OsuSpriteText text = new OsuSpriteText(); private readonly OsuSpriteText text = new OsuSpriteText();