Sg2.0
CMYKColor
Packages

CMYKColor extends Color

Constructors

Parameters:
c: Number
m: Number
y: Number
k: Number
a: Number
Parameters:
components: Array of Number

Properties

A value between 0 and 1 that specifies the amount of black in the CMYK color.
Returns:
Number
Read-only.
Returns:
ColorSpace
Read-only.
Returns:
Number
A value between 0 and 1 that specifies the amount of cyan in the CMYK color.
Returns:
Number
A value between 0 and 1 that specifies the amount of magenta in the CMYK color.
Returns:
Number
A value between 0 and 1 that specifies the amount of yellow in the CMYK color.
Returns:
Number

Functions

Checks if the supplied CMYKColor is the same as this one.
Parameters:
obj: Object - The CMYKColor to compare with
Returns:
Boolean - True if the CMYKColor is the same, false otherwise

Inheritance