API Reference > Classes > PRC Graphical Classes > OdPrcRgbColor Class
OdPrcRgbColor Class
OdPrcRgbColor
Syntax
C++
class OdPrcRgbColor;

PrcRgbColor.h

 

Class representing a color defined with 3 components: red, green, blue.

This is the overview for the OdPrcRgbColor constructor overload. 
b 
Retrieves the current blue component value.  
g 
Retrieves the current green component value.  
get 
Retrieves the values of the color object components.
 
Retrieves the true color of the RGB color object.  
r 
Retrieves the current red component value.  
set 
Sets new values of the color components.
 
setB 
Sets a new blue component value. 0-1 range.
 
setG 
Sets a new green component value. 0-1 range.
 
setR 
Sets a new red component value.
 
= 
An assignment operator for the RGB color object.  
== 
Compare operator for the color.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.