Microsoft.Xna.Framework.ColorExtensions.ToParser C# (CSharp) 메소드

ToParser() 공개 정적인 메소드

Converts a color to the format used by SadConsole.ParseCommandRecolor command.
public static ToParser ( this color ) : string
color this The color to convert.
리턴 string
        public static string ToParser(this Color color)
        {
            return $"{color.R},{color.G},{color.B},{color.A}";
        }