Returns the values of the color components (including alpha) associated with a color.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
An array of intensity values for the color components (including alpha) associated with the specified color. The size of the array is one more than the number of components of the color space for the color.
Getting Information about Core Graphics Colors
Returns the value of the alpha component associated with a color.
Returns the pattern associated with a color in a pattern color space.
Returns the Core Foundation type identifier for a color data type.
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