Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCmTransparency::OdCmTransparency Constructor (double)
Syntax
C++
OdCmTransparency(double alphaPercent);

details Creates a transparency object and sets its transparency property using a specified alpha value as a percentage. 

 

Parameters
Description
alphaPercent
[in] An alpha value of transparency in percent as a double value in the range from 0.0 to 1.0.

The transparency method is set to kByAlpha. Alpha = 0.0 corresponds to full transparency. Alpha = 1.0 corresponds to full opacity.

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