Close
Relief for ODA Team in Ukraine
Learn more
ODA PRC SDK
API Reference
>
Classes
>
OdPrcArrayRgba Class
>
OdPrcArrayRgba Methods
>
OdPrcArrayRgba::setNumOfColors Method
OdPrcArrayRgba::setNumOfColors Method
Syntax
C++
void
setNumOfColors
(OdUInt32
num
,
bool
is_rgba
);
Description
Sets a new size of color array and new value of RGBA flag.
Parameters
Parameters
Description
num
[in] A new size of the color array to be set.
is_rgba
[in] A new value of the RGBA flag.
RGBA flag determines whether all colors in the array are RGBA (if true) or RGB (if false) colors.
Links
OdPrcArrayRgba Class
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!