示例#1
0
    /**
     * This method returns the specified string wrapped in rich text format tags.
     */
    public string FormatString(string s)
    {
        string hexColor = m_colorMap.GetColorHexString(m_score);

        return("<size=50><b><color=#" + hexColor + ">" + s + "</color></b></size>");
    }