Instance Property

red

The unpremultiplied red component of the color.

Declaration

@property(readonly) CGFloat red;

See Also

Getting Color Components

colorSpace

The Quartz 2D color space associated with the color.

components

The color components of the color.

numberOfComponents

Returns the number of color components in the color.

green

The unpremultiplied green component of the color.

blue

The unpremultiplied blue component of the color.

alpha

The alpha value of the color.

stringRepresentation

A formatted string that specifies the components of the color.

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