Contents

init(genericGamma22White:alpha:)

Returns a color object with the specified white and alpha values in the GenericGamma22 colorspace.

Declaration

init(genericGamma22White white: CGFloat, alpha: CGFloat)

Parameters

  • white:

    The white value of the color object.

  • alpha:

    The opacity value of the color object.

Return Value

The color object.

Discussion

Values below 0.0 are interpreted as 0.0, and values above 1.0 are interpreted as 1.0.

See Also

Related Documentation

Creating a color using white components