API Reference > Classes > PRC Graphical Classes > OdPrcRgbColor Class > OdPrcRgbColor Methods > OdPrcRgbColor::get Method
OdPrcRgbColor::get Method
Syntax
C++
void get(double & r, double & g, double & b) const;
Parameters 
Description 
double & r 
[out] A placeholder for the red component value.  
double & g 
[out] A placeholder for the green component value.  
double & b 
[out] A placeholder for the blue component value. 

Retrieves the values of the color object components. 

 

The method fills the passed values and returns them to a calling subroutine.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.