---
title: "Ink | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Ink/"
---

# Ink

> [`Ink`](#ink)

## Classes

### Ink

#### Constructors

##### Constructor

```ts
new Ink(
   name, 
   alternativeColor, 
   solidity?): Ink;
```

###### Parameters

| Parameter | Type | Default value |
| ------ | ------ | ------ |
| `name` | `string` | `undefined` |
| `alternativeColor` | [`Color`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Color.md#abstract-color) | `undefined` |
| `solidity` | `number` | `1` |

###### Returns

#### Accessors

##### alternativeColor

###### Get Signature

```ts
get alternativeColor(): Color;
```

###### Returns

[`Color`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Color.md#abstract-color)

##### name

###### Get Signature

```ts
get name(): string;
```

###### Returns

`string`

##### solidity

###### Get Signature

```ts
get solidity(): number;
```

###### Returns

`number`

#### Methods

##### clone()

```ts
clone(): Ink;
```

###### Returns

[`Ink`](#ink)

##### equals()

```ts
equals(other): boolean;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | [`Ink`](#ink) |

###### Returns

`boolean`

##### getData()

```ts
getData(): IInk;
```

###### Returns

[`IInk`](#iink)

##### equals()

```ts
static equals(a, b): boolean;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `a` | [`Ink`](#ink) |
| `b` | [`Ink`](#ink) |

###### Returns

`boolean`

## Interfaces

### IInk

#### Properties

##### alternativeColor

```ts
alternativeColor: IColor;
```

##### name

```ts
name: string;
```

##### solidity

```ts
solidity: number;
```
