// Copyright (c) 2025-2026 GeWuYou
// SPDX-License-Identifier: Apache-2.0
namespace GFramework.Godot.Text.Effects;
///
/// 为文本应用蓝色语义高亮。
///
[GlobalClass]
[Tool]
public partial class RichTextBlueEffect : RichTextEffectBase
{
private static readonly Color BlueColor = new(0.44f, 0.72f, 0.98f, 1.0f);
///
/// 获取标签名。
///
protected override string TagName => "blue";
///
/// 应用蓝色颜色效果。
///
/// 当前字符上下文。
/// 始终返回 。
public override bool _ProcessCustomFX(CharFXTransform charFx)
{
charFx.Color = BlueColor;
return true;
}
}