GSDP:GAM100/CProcessing/blue()

From Inside
Jump to: navigation, search

blue()

Description

Retrieve the blue value from a given PColor object.

Parameters

blue(PColor c)

  • c - (PColor) the Color to retrieve the blue value from.

Example

void init() 
{
    // Create a slightly transparent white color
    pColor white = color(255,255,255,128);

   // Retrieve the blue value
   // blue will be 255
   int blue = blue(white);
}

Related

Personal tools
Namespaces

Variants
Actions
Navigation
NameSpaces:>
Tools
Dynamic:>