Back to Website
Show / Hide Table of Contents

Class Ink

Package: @aurigma/design-atoms-model

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
Type Description
Color

name

Declaration
get name(): string;
Property Value
Type Description
string

solidity

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

Methods

clone()

Declaration
clone(): Ink;
Returns
Type Description
Ink

equals(other)

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

equals(a, b)

Declaration
static equals(a: Ink, b: Ink): boolean;
Parameters
Type Name Description
Ink a
Ink b
Returns
Type Description
boolean

getData()

Declaration
getData(): IInk;
Returns
Type Description
IInk
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