Example #1
0
 /// <summary>
 /// Gets the formated color string.
 /// </summary>
 /// <param name="colorToFormat">The color to format.</param>
 /// <returns>System.String.</returns>
 private string GetFormatedColorString(Color colorToFormat)
 {
     return(ColorUtilities.FormatColorString(colorToFormat.GetColorName(), UsingAlphaChannel));
 }
Example #2
0
 /// <summary>
 /// Gets the formated color string.
 /// </summary>
 /// <param name="stringToFormat">The string to format.</param>
 /// <returns>System.String.</returns>
 private string GetFormatedColorString(string stringToFormat)
 {
     return(ColorUtilities.FormatColorString(stringToFormat, UsingAlphaChannel));
 }