CIColorMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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
The color component with the given index.

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
Creates a new CIColor based on the given CoreGraphics color.

On success, the handle is not zero.

See also:

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
Initializes object with given object reference.

ref should be a CIColor* and the object is retained.
Raises UnsupportedOperationException if object is not a CIColor.

See also:

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
Creates a color object using the specified RGB color component values

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:

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
Creates a color object using the specified RGBA color component values.

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:

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
Create a new color object in a given colorspace.

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
Create a new color object in a given colorspace.

Will fail if the colorspace is not kCGColorSpaceModelRGB.
Available in macOS 10.12 or newer.

See also:

CIColorMBS.copy as CIColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the color object.

The items on this page are in the following plugins: MBS MacCI Plugin.


💬 Ask a question or report a problem