Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
OdPrcArrayRgba::setNumOfColors Method
Syntax
C++
void setNumOfColors(OdUInt32 num, bool is_rgba);

Sets a new size of color array and new value of RGBA flag. 

 

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.
Copyright © 2002-2022. Open Design Alliance All rights reserved.