网站首页
编程语言
数据库
系统相关
其他分享
编程问答
backA
2024-08-03
C#Alpha混合
publicstaticint[]ColorAlpha(intfrontA,intfrontR,intfrontG,intfrontB,intbackA,intbackR,intbackG,intbackB){intr=frontR*frontA/255+backR*backA/255*(1-frontA/255);intg=frontG*frontA/255+backG*backA/