android.graphics.Color
来源:互联网 发布:java jar 运行war包 编辑:程序博客网 时间:2024/05/18 22:55
android.graphics.Color
Class Overview
The Color class defines methods for creating and converting color ints. Colors are represented as packed ints, made up of 4 bytes: alpha, red, green, blue. The values are unpremultiplied, meaning any transparency is stored solely in the alpha component, and not in the color components. The components are stored as follows (alpha << 24) | (red << 16) | (green << 8) | blue. Each component ranges between 0..255 with 0 meaning no contribution for that component, and 255 meaning 100% contribution. Thus opaque-black would be 0xFF000000 (100% opaque but no contributions from red, green, or blue), and opaque-white would be 0xFFFFFFFF
Constants
public static final int BLACK //黑色
public static final int BLUE //蓝色
public static final int CYAN //蓝绿色
public static final int DKGRAY //深灰色
public static final int GRAY //灰色
public static final int GREEN //绿色
public static final int LTGRAY //
public static final int MAGENTA //洋红色的,品红
public static final int RED //红色
public static final int TRANSPARENT //透明
public static final int WHITE //白色
public static final int YELLOW //黄色
- android.graphics.Color
- android.graphics.Color
- Android入门--android.graphics.Color 颜色设置
- Android graphics学习笔记(1) - Color
- Color Graphics Adapter
- EditText的背景颜色的设置及android.graphics.Color的使用
- Android Api Demos登顶之路(七十二)Graphics-->Color Filters
- android graphics
- android--graphics
- android graphics
- Android Graphics
- Android graphics
- android Graphics
- android.graphics
- android Graphics
- Graphics::Clear(Color::Transparent)不会生效
- android.graphics(三)graphics
- Color android
- java面试题
- 动态代理
- 用户名登录和windows帐户连接sql server数据库的不同
- 目标检测中背景建模方法
- POJ 1163 The Triangle
- android.graphics.Color
- 最长不下降序列
- ios7 view被导航栏遮挡问题的解决
- 【分享】信用卡个人评分依据,可用于信用评分
- 堆排序
- ARM--位置无关代码设计
- UbuntuKylin 13.04 用户手册
- Notes的多地址薄设置管理
- 多媒体代码结构