CIColor.FromRgba Method

Definition

Overloads

FromRgba(nfloat, nfloat, nfloat, nfloat)

Creates a CIColor from the supplied red, green, blue, and alpha values.

FromRgba(nfloat, nfloat, nfloat, nfloat, CGColorSpace)

FromRgba(nfloat, nfloat, nfloat, nfloat)

Creates a CIColor from the supplied red, green, blue, and alpha values.

[Foundation.Export("colorWithRed:green:blue:alpha:")]
public static CoreImage.CIColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha);
static member FromRgba : nfloat * nfloat * nfloat * nfloat -> CoreImage.CIColor

Parameters

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

Returns

Attributes

Applies to

FromRgba(nfloat, nfloat, nfloat, nfloat, CGColorSpace)

[Foundation.Export("colorWithRed:green:blue:alpha:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreImage.CIColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha, CoreGraphics.CGColorSpace colorSpace);
static member FromRgba : nfloat * nfloat * nfloat * nfloat * CoreGraphics.CGColorSpace -> CoreImage.CIColor

Parameters

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat
colorSpace
CGColorSpace

Returns

Attributes

Applies to