Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCmTransparency::setAlpha Method
Syntax
C++
void setAlpha(OdUInt8 alpha);

Sets the alpha value and switches the transparency method to kByAlpha for the transparency object. 

 

Parameters
Description
alpha
[in] Alpha value as an integer value in the range 0 to 255.

An alpha value defines the degree of transparency. Alpha = 0 corresponds to full transparency. Alpha = 255 corresponds to full opacity.

Copyright © 2002-2022. Open Design Alliance All rights reserved.