2019-01-24 08:43:03 +00:00
|
|
|
|
// 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.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2023-06-10 18:53:45 +00:00
|
|
|
|
using System;
|
2017-01-31 09:53:52 +00:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2017-01-31 09:53:52 +00:00
|
|
|
|
namespace osu.Game.Graphics.Sprites
|
|
|
|
|
{
|
2017-02-10 07:26:43 +00:00
|
|
|
|
public partial class OsuSpriteText : SpriteText
|
2017-01-31 09:53:52 +00:00
|
|
|
|
{
|
2023-06-10 18:53:45 +00:00
|
|
|
|
[Obsolete("Use TruncatingSpriteText instead.")]
|
|
|
|
|
public new bool Truncate
|
|
|
|
|
{
|
|
|
|
|
set => throw new InvalidOperationException($"Use {nameof(TruncatingSpriteText)} instead.");
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-31 09:53:52 +00:00
|
|
|
|
public OsuSpriteText()
|
|
|
|
|
{
|
|
|
|
|
Shadow = true;
|
2019-02-12 04:04:46 +00:00
|
|
|
|
Font = OsuFont.Default;
|
2017-01-31 09:53:52 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|