Close
Relief for ODA Team in Ukraine
Learn more
ODA PRC SDK
API Reference
>
Classes
>
OdPrcRgbColor Class
OdPrcRgbColor Class
Syntax
C++
class
OdPrcRgbColor
;
Description
Class representing a color defined with 3 components: red, green, blue.
Class Hierarchy
File:
PrcRgbColor.h
Methods
OdPrcRgbColor(const OdCmEntityColor &)
This is the overview for the OdPrcRgbColor constructor overload.
Methods
b
Retrieves the current blue component value.
g
Retrieves the current green component value.
get
Retrieves the values of the color object components.
getTrueColor
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.
Operators
=
An assignment operator for the RGB color object.
==
Compare operator for the color.
Links
OdPrcRgbColor Constructor
OdPrcRgbColor Methods
OdPrcRgbColor Operators
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!