Global Variable

kCGWindowAlpha

Declaration

let kCGWindowAlpha: CFString

Discussion

The value for this key is a CFNumber type (encoded as CFNumberType.floatType) that contains the window’s alpha fade level. This number is in the range 0.0 to 1.0, where 0.0 is fully transparent and 1.0 is fully opaque.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software