25
我有以下ColorMatrixFilter。但我想用它作爲Subtract-Blend模式的遮罩,而不是直接使用它。我如何去實現這一目標?在Android中使用ColorMatrixFilter減去混合模式?
嘉洛斯:
colorMatrix[
0.393, 0.7689999, 0.18899999, 0, 0,
0.349, 0.6859999, 0.16799999, 0, 0,
0.272, 0.5339999, 0.13099999, 0, 0,
0,0,0,1,0
];
我不認爲你對矩陣有正確的想法。閱讀更多檢查[這](http://math.stackexchange.com/a/532974)的答案。 – RobCo