Back to Website
Show / Hide Table of Contents

Class LabColor

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

Constructors

(constructor)(l, a, b, alpha, profile)

Constructs a new instance of the LabColor class

Declaration
constructor(l: number, a: number, b: number, alpha: number, profile?: string);
Parameters
Type Name Description
number l
number a
number b
number alpha
string profile

Properties

_colorSpace

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

a

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

b

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

l

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

Methods

clone()

Declaration
clone(): Color;
Returns
Type Description
Color

equals(other)

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

getData()

Declaration
getData(): ILabColor;
Returns
Type Description
ILabColor

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