Returns the color space of a bitmap context.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The bitmap context to examine.
The color space of the specified context, or
NULL if the context is not a bitmap context. You are responsible for retaining and releasing this object as necessary.
Managing a Bitmap Graphics Context
var alphaInfo: CGImageAlphaInfo
Returns the alpha information associated with the context, which indicates how a bitmap context handles the alpha component.
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