Platforms to show: All Mac Windows Linux Cross-Platform
Back to CIColorMBS class.
CIColorMBS.Component(index as UInt32) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 12.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Index is from 0 to NumberOfComponents - 1.
CIColorMBS.Constructor(ColorValue as CGColorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
On success, the handle is not zero.
See also:
- Constructor(Handle as Integer)
- Constructor(Red as Double, Green as Double, Blue as Double)
- Constructor(Red as Double, Green as Double, Blue as Double, Alpha as Double)
- Constructor(Red as double, Green as Double, Blue as double, Alpha as Double, ColorSpace as CGColorSpaceMBS)
- Constructor(Red as double, Green as Double, Blue as double, ColorSpace as CGColorSpaceMBS)
CIColorMBS.Constructor(Handle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 12.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
ref should be a CIColor* and the object is retained.
Raises UnsupportedOperationException if object is not a CIColor.
See also:
- Constructor(ColorValue as CGColorMBS)
- Constructor(Red as Double, Green as Double, Blue as Double)
- Constructor(Red as Double, Green as Double, Blue as Double, Alpha as Double)
- Constructor(Red as double, Green as Double, Blue as double, Alpha as Double, ColorSpace as CGColorSpaceMBS)
- Constructor(Red as double, Green as Double, Blue as double, ColorSpace as CGColorSpaceMBS)
CIColorMBS.Constructor(Red as Double, Green as Double, Blue as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
r: The value of the red component.
g: The value of the green component.
b: The value of the blue component.
Initializes Core Image color object that represents an RGB color in the color space specified by the Quartz 2D constant kCGColorSpaceGenericRGB.
See also:
- Constructor(ColorValue as CGColorMBS)
- Constructor(Handle as Integer)
- Constructor(Red as Double, Green as Double, Blue as Double, Alpha as Double)
- Constructor(Red as double, Green as Double, Blue as double, Alpha as Double, ColorSpace as CGColorSpaceMBS)
- Constructor(Red as double, Green as Double, Blue as double, ColorSpace as CGColorSpaceMBS)
CIColorMBS.Constructor(Red as Double, Green as Double, Blue as Double, Alpha as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
r: The value of the red component.
g: The value of the green component.
b: The value of the blue component.
a: The value of the alpha component.
Initializes a Core Image color object that represents an RGB color in the color space specified by the Quartz 2D constant kCGColorSpaceGenericRGB and an alpha value.
See also:
- Constructor(ColorValue as CGColorMBS)
- Constructor(Handle as Integer)
- Constructor(Red as Double, Green as Double, Blue as Double)
- Constructor(Red as double, Green as Double, Blue as double, Alpha as Double, ColorSpace as CGColorSpaceMBS)
- Constructor(Red as double, Green as Double, Blue as double, ColorSpace as CGColorSpaceMBS)
CIColorMBS.Constructor(Red as double, Green as Double, Blue as double, Alpha as Double, ColorSpace as CGColorSpaceMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Will fail if the colorspace is not kCGColorSpaceModelRGB.
Available in macOS 10.12 or newer.
See also:
CIColorMBS.Constructor(Red as double, Green as Double, Blue as double, ColorSpace as CGColorSpaceMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Will fail if the colorspace is not kCGColorSpaceModelRGB.
Available in macOS 10.12 or newer.
See also:
- Constructor(ColorValue as CGColorMBS)
- Constructor(Handle as Integer)
- Constructor(Red as Double, Green as Double, Blue as Double)
- Constructor(Red as Double, Green as Double, Blue as Double, Alpha as Double)
- Constructor(Red as double, Green as Double, Blue as double, Alpha as Double, ColorSpace as CGColorSpaceMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacCI Plugin.