关于Paint的setColor(int color)方法
来源:互联网 发布:国家统计局进度数据库 编辑:程序博客网 时间:2024/06/01 22:15
定义好的颜色值为private int indicatorColor = 0xff9900;
我在调用setColor方法时,传入indicatorColor ,透明的,??????
看了下源码,是这样定义的
/** * Set the paint's color. Note that the color is an int containing alpha * as well as r,g,b. This 32bit value is not premultiplied, meaning that * its alpha can be any value, regardless of the values of r,g,b. * See the Color class for more details. * * @param color The new color (including alpha) to set in the paint. */ public native void setColor(int color);设置的颜色值要包括透明度的 ,否则就视为透明的。
3 0
- 关于Paint的setColor(int color)方法
- Paint和Color的介绍
- 关于canvas、paint的相关方法汇总
- 安卓·设置navigation bar的颜色(setColor方法)
- Android中一些常用类的常用方法(Math、Random、Color、Paint、Canvas、Bitmap、BitmapFactory)
- 关于Paint的参数
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- 关于Java中的paint,repaint,update三个方法的关系
- Paint 的set方法
- Paint画笔及Color
- Paint画笔及Color
- AOJ-0531 Paint Color
- build文档
- realloc
- Android底部弹出iOS7风格对话选项框
- Android telephony record
- TCP三次握手及四次挥手详细图解
- 关于Paint的setColor(int color)方法
- ubuntu12.04下搭建ftp服务器
- 数组 3Sum Closest
- shell中的内建命令, 函数和外部命令
- 时序数据库 druid 简介 之技术点 统计估算算法
- ExtJs中grid分页加载的问题
- 多叉树结构实现搜索算法
- USB Type-C到底是什么
- VS2010编译openssl时出现的link问题