mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Initial mobile website check in
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<root>
|
||||
<name>blue()</name>
|
||||
|
||||
<category>Color</category>
|
||||
|
||||
<subcategory>Creating & Reading</subcategory>
|
||||
|
||||
<usage>Web & Application</usage>
|
||||
|
||||
<example>
|
||||
<image>blue_.gif</image>
|
||||
<code>
|
||||
noStroke();
|
||||
color c = color(0, 126, 255);
|
||||
fill(c);
|
||||
rect(15, 20, 35, 60);
|
||||
float value = blue(c); // Sets "value" to "255"
|
||||
fill(value);
|
||||
rect(50, 20, 35, 60);
|
||||
</code>
|
||||
</example>
|
||||
|
||||
<description>
|
||||
Extracts the blue element from a color.
|
||||
</description>
|
||||
|
||||
<syntax>
|
||||
blue(<c>color</c>)
|
||||
</syntax>
|
||||
|
||||
<parameter>
|
||||
<label>color</label>
|
||||
<description>any value of the color datatype</description>
|
||||
</parameter>
|
||||
|
||||
<returns>float</returns>
|
||||
|
||||
<related>
|
||||
red()
|
||||
green()
|
||||
hue()
|
||||
saturation()
|
||||
brightness()
|
||||
</related>
|
||||
|
||||
<availability>1.0</availability>
|
||||
|
||||
<type>Function</type>
|
||||
|
||||
<partof>Core</partof>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user