- public static int argb (int alpha, int red, int green, int blue)
Return a color-int from alpha, red, green, blue components. These component values should be [0..255], but there is no range check performed, so if they are out of range, the returned color is undefined. - public static int rgb (int red, int green, int blue)
Return a color-int from red, green, blue components. The alpha component is implicity 255 (fully opaque). These component values should be [0..255], but there is no range check performed, so if they are out of range, the returned color is undefined.
HTML ONLINE
Wellcome to html!
Thứ Bảy, 22 tháng 9, 2012
Get color-int from alpha, red, green, blue components
Android system's android.graphics.Color class provide methods for creating and converting color ints.
Đăng ký:
Đăng Nhận xét (Atom)
Không có nhận xét nào:
Đăng nhận xét