API Reference > OdCm Classes > OdCmTransparency Class > OdCmTransparency Methods > OdCmTransparency::alphaPercent Method
OdCmTransparency::alphaPercent Method
Syntax
C++
double alphaPercent() const;

Returns the alpha value in the range from 0.0 to 1.0 of the transparency object.

An alpha value defines the degree of transparency. Alpha = 0.0 corresponds to full transparency. Alpha = 1.0 corresponds to full opacity.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.