contents   index   previous   next



GD blue()

syntax:

gd.blue(index)

where:

index - color index to look up.

 

return:

number - blue component of the specified color index.

 

description:

This method looks up the color indicated by index and returns the blue component of that color.

 

see:

#link <gd>, GD red(), GD green()

 

example:

var index = gd.colorAllocate(0,100,200);

gd.blue(index);  // This will return 200

 


GD boundsSafe(