Click or drag to resize
ColorCMYKIsCanonical Method
Indicates if the color is canonical, or if there is a different representation of this color that is canonical.

Namespace: Experilous.MakeItColorful
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public bool IsCanonical()

Return Value

Type: Boolean
Returns true if the color is canonical, false if there is a different representation that is canonical.
Remarks

For a CMYK color to be canonical, at least one of cyan, magenta, or yellow must be 0. Also, if the key is 1, then cyan, magenta, and yellow must all be 0.

See Also