Back to Website
Show / Hide Table of Contents

Class Swatch

Inheritance
ModelComponent
Swatch
Package: @aurigma/design-atoms-model

Properties

color

Declaration
get color(): Color;

set color(value: Color);
Property Value
Type Description
Color

Methods

_copy(source, destination, generateNewIds)

Declaration
protected _copy(source: Swatch, destination: Swatch, generateNewIds: boolean): void;
Parameters
Type Name Description
Swatch source
Swatch destination
boolean generateNewIds
Returns
Type Description
void

clone(generateNewIds)

Declaration
clone(generateNewIds?: boolean): Swatch;
Parameters
Type Name Description
boolean generateNewIds
Returns
Type Description
Swatch

equals(other)

Declaration
equals(other: Swatch): boolean;
Parameters
Type Name Description
Swatch other
Returns
Type Description
boolean
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