TypeLib Xojo support Plugin

EinhugurColors.CMYKColor Class (console safe)

A class that represents CMYK color and has ability to store both 8 bits per channel and 16 bits per channel.

GenericColor
   CMYKColor

class EinhugurColors.CMYKColor

Properties

Alpha16Sets or gets 16bit Alpha value. (65535 = full opaque, 0 = full transparent)
Alpha8Sets or gets 8bit Alpha value. (255 = full opaque, 0 = full transparent)
Cyan16Sets or gets 16bit Cyan value.
Cyan8Sets or gets 8bit Cyan value.
Key16Sets or gets 16bit Key value.
Key8Sets or gets 8bit Key value.
Magenta16Sets or gets 16bit Magenta value.
Magenta8Sets or gets 8bit Magenta value.
Yellow16Sets or gets 16bit Yellow value.
Yellow8Sets or gets 8bit Yellow value.

Methods

shared From16BitComponentsCreates instance of CMYKColor from 16bit components
shared From8BitComponentsCreates instance of CMYKColor from 8bit components
Operator_CompareMakes = and <> operators work to compare two instances of CMYKColor.
ToRGBColorDoes crude conversion to RGBColor

Examples

>new example
example

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon