标签: c# colors c#-2.0
如何添加2个System.Drawing.Color,它等同于System.Windows.Media.Color.Add()。我需要这个,因为我正在研究不支持System.Windows.Media的2.0框架。请帮帮我。
答案 0 :(得分:0)
如果您还需要考虑颜色上下文,那么在答案中写一下会有点长。您可以使用Reflector(例如)反汇编System.Windows.Media.Color.op_Addition方法(剥离您在实现中不需要的内容)。
System.Windows.Media.Color.op_Addition