Creates a color using a list of intensity values (including alpha), a pattern color space, and a pattern.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
A pattern color space for the new color. Core Graphics retains the color space you pass in. On return, you may safely release it.
A pattern for the new color object. Core Graphics retains the pattern you pass in. On return, you may safely release it.
An array of intensity values describing the color. The array should contain
n + 1values that correspond to the
ncolor components in the specified color space, followed by the alpha component. Each component value should be in the range appropriate for the color space. Values outside this range will be clamped to the nearest correct value.
A new color. You are responsible for releasing this object using