mirror of
https://github.com/ppy/osu
synced 2025-02-18 11:26:57 +00:00
Add xmldoc
This commit is contained in:
parent
27f745b980
commit
648c6245bb
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user