Color类里面的 getTransparency public int getTransparency()Returns the transparency mode for this Color. This is required to implement the Paint interface. Specified by: getTransparency in interface Transparency Returns: this Color object's transparency mode. ------------ 这个是刚才查的还不会用还有一种方法就是static Color getHSBColor(float h, float s, float b) 至于三个参数怎么设置的我不记得了,以前看到过
Thank you
getTransparency
public int getTransparency()Returns the transparency mode for this Color. This is required to implement the Paint interface. Specified by:
getTransparency in interface Transparency
Returns:
this Color object's transparency mode.
------------
这个是刚才查的还不会用还有一种方法就是static Color getHSBColor(float h, float s, float b)
至于三个参数怎么设置的我不记得了,以前看到过