Back to Website
Show / Hide Table of Contents

Class CmykColor

Inheritance
Color
ProcessColor
CmykColor
Package: @aurigma/design-atoms-model

Constructors

(constructor)(c, m, y, k, alpha, profile)

Constructs a new instance of the CmykColor class

Declaration
constructor(c: number, m: number, y: number, k: number, alpha: number, profile?: string);
Parameters
Type Name Description
number c
number m
number y
number k
number alpha
string profile

Properties

_colorSpace

Declaration
protected readonly _colorSpace: ColorSpace;
Property Value
Type Description
ColorSpace

c

Declaration
get c(): number;
Property Value
Type Description
number

k

Declaration
get k(): number;
Property Value
Type Description
number

m

Declaration
get m(): number;
Property Value
Type Description
number

y

Declaration
get y(): number;
Property Value
Type Description
number

Methods

clone()

Declaration
clone(): CmykColor;
Returns
Type Description
CmykColor

equals(other)

Declaration
equals(other: Color): boolean;
Parameters
Type Name Description
Color other
Returns
Type Description
boolean

getData()

Declaration
getData(): ICmykColor;
Returns
Type Description
ICmykColor

toString()

Declaration
toString(): string;
Returns
Type Description
string
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback