Class Ink
Constructors
(constructor)(name, alternativeColor, solidity)
Constructs a new instance of the Ink class
Declaration
constructor(name: string, alternativeColor: Color, solidity?: number);
Parameters
| Type |
Name |
Description |
| string |
name |
|
| Color |
alternativeColor |
|
| number |
solidity |
|
Properties
alternativeColor
Declaration
get alternativeColor(): Color;
Property Value
name
Declaration
Property Value
solidity
Declaration
Property Value
Methods
clone()
Declaration
Returns
equals(other)
Declaration
equals(other: Ink): boolean;
Parameters
| Type |
Name |
Description |
| Ink |
other |
|
Returns
equals(a, b)
Declaration
static equals(a: Ink, b: Ink): boolean;
Parameters
| Type |
Name |
Description |
| Ink |
a |
|
| Ink |
b |
|
Returns
getData()
Declaration
Returns