Platforms to show: All Mac Windows Linux Cross-Platform

CGColorMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreGraphics MBS MacCG Plugin 4.3 ✅ Yes ❌ No ❌ No ✅ Yes All
A class for a CoreGraphics color object.
  • property Handle as Integer
  • 7 methods
  • 11 shared methods
    • shared method Black as CGColorMBS
    • shared method Clear as CGColorMBS
    • shared method Create(colorspace as CGColorSpaceMBS, components as memoryblock) as CGColorMBS
    • shared method Create(colorspace as CGColorSpaceMBS, components() as Double) as CGColorMBS
    • shared method CreateDeviceCMYK(cyan as Double, magenta as Double, yellow as Double, black as Double, alpha as Double = 1.0) as CGColorMBS
    • shared method CreateDeviceGray(gray as Double, alpha as Double = 1.0) as CGColorMBS
    • shared method CreateDeviceRGB(red as Double, green as Double, blue as Double, alpha as Double = 1.0) as CGColorMBS
    • shared method CreateGenericCMYK(cyan as Double, magenta as Double, yellow as Double, black as Double, alpha as Double = 1.0) as CGColorMBS
    • shared method CreateGenericGray(gray as Double, alpha as Double = 1.0) as CGColorMBS
    • shared method CreateGenericRGB(red as Double, green as Double, blue as Double, alpha as Double = 1.0) as CGColorMBS
    • shared method White as CGColorMBS

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Release notes


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


CGBitmapContextMBS   -   CGColorSpaceMBS


The biggest plugin in space...