Microsoft.Xna.Framework.ColorExtensions.RedOnly C# (CSharp) Метод

RedOnly() публичный статический Метод

Returns a new Color using only the Red value of this color.
public static RedOnly ( this color ) : Color
color this Object instance.
Результат Color
        public static Color RedOnly(this Color color)
        {
            return new Color(color.R, 0, 0);
        }