Name |
unhex()反向十六进制 |
||
Examples |
String hs = “FF006699”; int hi = unhex(hs); fill(hi); rect(30, 20, 55, 55); |
||
Description |
Converts a String representation of a hexadecimal number to its equivalent integer value. 将十六进制数的字符串表示形式转换为其等效的整数值。 |
||
Syntax |
unhex(value) |
||
Parameters |
|
||
Returns |
int |
||
Related |
hex() |
- 本文固定链接: http://iprocessing.cn/2017/07/20/unhex反向十六进制/
- 转载请注明: 卡萨布兰卡 于 Processing编程艺术 发表