CIColor.FromRgb Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromRgb(nfloat, nfloat, nfloat) |
Creates a CIColor from the supplied |
FromRgb(nfloat, nfloat, nfloat, CGColorSpace) |
FromRgb(nfloat, nfloat, nfloat)
Creates a CIColor from the supplied red
, green
, and blue
values.
[Foundation.Export("colorWithRed:green:blue:")]
public static CoreImage.CIColor FromRgb (nfloat red, nfloat green, nfloat blue);
static member FromRgb : nfloat * nfloat * nfloat -> CoreImage.CIColor
Parameters
- red
- nfloat
- green
- nfloat
- blue
- nfloat
Returns
- Attributes
Applies to
FromRgb(nfloat, nfloat, nfloat, CGColorSpace)
[Foundation.Export("colorWithRed:green:blue: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 FromRgb (nfloat red, nfloat green, nfloat blue, CoreGraphics.CGColorSpace colorSpace);
static member FromRgb : nfloat * nfloat * nfloat * CoreGraphics.CGColorSpace -> CoreImage.CIColor
Parameters
- red
- nfloat
- green
- nfloat
- blue
- nfloat
- colorSpace
- CGColorSpace
Returns
- Attributes