windowOpacity() method allows us to see the opacity level of the main window. Opacity is the measure of impenetrability to electromagnetic or other kinds of radiation, especially visible light. In radiative transfer, it describes the absorption and scattering of radiation in a medium, such as a plasma, dielectric, shielding material, glass, etc.
Opacity level ranges from 0.0 to 1.0, where 0.0 means completely transparent and 1.0 means completely opaque, by default it is 1.0 i.e completely opaque.
Syntax : self.windowOpacity()
Argument : It takes no argument.
Return : Returns a float value ranging from 0.0 to 1.0
Please Login to comment...