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

Returns the alpha value in the range from 0 to 255 of the transparency object.

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

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