hex





hex() \ Language (API) \ Processing 1.0
























Search processing.org:





Language (A-Z) \ Libraries \ Tools \ Environment \ Compare \ Troubleshooting






Reference for Processing version 1.0+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name hex() Examples color c = #ffcc00; println(c); // Prints -13312 println(hex(c)); // Prints FFFFCC00 println(hex(c, 6)); // Prints FFCC00color c = color(255, 204, 0); println(c); // Prints -13312 println(hex(c)); // Prints FFFFCC00 println(hex(c, 6)); // Prints FFCC00 Description Converts a byte, char, int, or color to a String containing the equivalent hexadecimal notation. For example color(0, 102, 153, 255) will convert to the String "FF006699". This function can help make your geeky debugging sessions much happier. Syntax hex(value) hex(value, digits) Parameters value byte, char, int, color: value to convert digits int: number of digits to return Returns String Usage Web & Application Related unhex()binary()unbinary()

Updated on November 22, 2008 08:39:25pm PST












Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.


© Info \

Site hosted by Media Temple!









Wyszukiwarka

Podobne podstrony:
option force hex style colors
A HEX na ASCII
zamiana z hex na dec 16b
Nadajnik Ukf 300mW Hex
A Kajt na hex
[PIC] 230V Ceiling Fan Timer 5318?ntimer HEX
WRITE HEX File Format
dziewczyny z hex hall 3 rozdział 27
hex
PROGRAM zmien rozszerzenie na hex
dziewczyny z hex hall 3 rozdział 28
READ HEX File Format
HEX DEC
Digital LC Meter Version 2 hex

więcej podobnych podstron