|  | 
|  | glsColor () | 
|  | 
|  | glsColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a) | 
|  | 
| void | R (unsigned char val) | 
|  | 
| void | G (unsigned char val) | 
|  | 
| void | B (unsigned char val) | 
|  | 
| void | A (unsigned char val) | 
|  | 
| unsigned char | R (void) const | 
|  | 
| unsigned char | G (void) const | 
|  | 
| unsigned char | B (void) const | 
|  | 
| unsigned char | A (void) const | 
|  | 
Python extension for the glsColor editor class. 
      
        
          | glsColor::glsColor | ( | unsigned char | r, | 
        
          |  |  | unsigned char | g, | 
        
          |  |  | unsigned char | b, | 
        
          |  |  | unsigned char | a | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void glsColor::A | ( | unsigned char | val | ) |  | 
      
 
Set the Alpha component of this color. 
- Parameters
- 
  
    | val | The new value for the component |  
 
 
 
      
        
          | unsigned char glsColor::A | ( | void |  | ) | const | 
      
 
- Returns
- The Alpha component of this color 
 
 
      
        
          | void glsColor::B | ( | unsigned char | val | ) |  | 
      
 
Set the Blue component of this color. 
- Parameters
- 
  
    | val | The new value for the component |  
 
 
 
      
        
          | unsigned char glsColor::B | ( | void |  | ) | const | 
      
 
- Returns
- The Blue component of this color 
 
 
      
        
          | void glsColor::G | ( | unsigned char | val | ) |  | 
      
 
Set the Green component of this color. 
- Parameters
- 
  
    | val | The new value for the component |  
 
 
 
      
        
          | unsigned char glsColor::G | ( | void |  | ) | const | 
      
 
- Returns
- The Green component of this color 
 
 
      
        
          | void glsColor::R | ( | unsigned char | val | ) |  | 
      
 
Set the Red component of this color. 
- Parameters
- 
  
    | val | The new value for the component |  
 
 
 
      
        
          | unsigned char glsColor::R | ( | void |  | ) | const | 
      
 
- Returns
- The Red component of this color 
 
 
The documentation for this class was generated from the following file: