API Reference > Classes > PRC Graphical Classes > OdPrcRgbColor Class > OdPrcRgbColor Methods > OdPrcRgbColor::r Method
OdPrcRgbColor::r Method
Syntax
C++
double r() const;

A double value that represents the red component of the color object.

Retrieves the current red component value.

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