Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/theme
MoodVector
Class MoodVector<M>
Type parameters
M
:
Mood
=
Feel
Hierarchy
MoodVector
Implements
Equals
Debug
Index
Constructors
constructor
Properties
array
index
Accessors
size
Methods
copy
debug
dot
equals
for
Each
get
get
Or
has
is
Empty
minus
negative
plus
times
to
String
updated
empty
from
Any
from
Array
index
of
Constructors
constructor
new
Mood
Vector<M>
(
array
:
readonly
[
M
,
number
]
[]
, index
:
{}
)
:
MoodVector
<
M
>
Type parameters
M
:
Mood
=
Feel
Parameters
array:
readonly
[
M
,
number
]
[]
index:
{}
[
name:
string
]:
number
|
undefined
Returns
MoodVector
<
M
>
Properties
Readonly
array
array
:
readonly
[
M
,
number
]
[]
Readonly
index
index
:
{}
Type declaration
[
name:
string
]:
number
|
undefined
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
Protected
copy
copy
(
array
:
readonly
[
M
,
number
]
[]
, index
?:
{}
)
:
MoodVector
<
M
>
Parameters
array:
readonly
[
M
,
number
]
[]
Optional
index:
{}
[
name:
string
]:
number
|
undefined
Returns
MoodVector
<
M
>
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
dot
dot
(
that
:
MoodVector
<
M
>
)
:
undefined
|
number
Parameters
that:
MoodVector
<
M
>
Returns
undefined
|
number
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
for
Each
for
Each<R>
(
callback
:
(
value
:
number
, key
:
M
)
=>
void
|
R
)
:
undefined
|
R
for
Each<R, S>
(
callback
:
(
value
:
number
, key
:
M
)
=>
void
|
R
, thisArg
:
S
)
:
undefined
|
R
Type parameters
R
Parameters
callback:
(
value
:
number
, key
:
M
)
=>
void
|
R
(
value
:
number
, key
:
M
)
:
void
|
R
Parameters
value:
number
key:
M
Returns
void
|
R
Returns
undefined
|
R
Type parameters
R
S
Parameters
callback:
(
value
:
number
, key
:
M
)
=>
void
|
R
(
value
:
number
, key
:
M
)
:
void
|
R
Parameters
value:
number
key:
M
Returns
void
|
R
thisArg:
S
Returns
undefined
|
R
get
get
(
key
:
M
)
:
undefined
|
number
get
(
name
:
string
)
:
undefined
|
number
get
(
index
:
number
)
:
undefined
|
number
Parameters
key:
M
Returns
undefined
|
number
Parameters
name:
string
Returns
undefined
|
number
Parameters
index:
number
Returns
undefined
|
number
get
Or
get
Or<E>
(
key
:
M
, elseValue
:
E
)
:
number
|
E
get
Or<E>
(
name
:
string
, elseValue
:
E
)
:
number
|
E
get
Or<E>
(
index
:
number
, elseValue
:
E
)
:
number
|
E
Type parameters
E
Parameters
key:
M
elseValue:
E
Returns
number
|
E
Type parameters
E
Parameters
name:
string
elseValue:
E
Returns
number
|
E
Type parameters
E
Parameters
index:
number
elseValue:
E
Returns
number
|
E
has
has
(
key
:
M
)
:
boolean
has
(
name
:
string
)
:
boolean
Parameters
key:
M
Returns
boolean
Parameters
name:
string
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
MoodVector
<
M
>
)
:
MoodVector
<
M
>
Parameters
that:
MoodVector
<
M
>
Returns
MoodVector
<
M
>
negative
negative
(
)
:
MoodVector
<
M
>
Returns
MoodVector
<
M
>
plus
plus
(
that
:
MoodVector
<
M
>
)
:
MoodVector
<
M
>
Parameters
that:
MoodVector
<
M
>
Returns
MoodVector
<
M
>
times
times
(
scalar
:
number
)
:
MoodVector
<
M
>
Parameters
scalar:
number
Returns
MoodVector
<
M
>
to
String
to
String
(
)
:
string
Returns
string
updated
updated
(
key
:
M
, value
:
undefined
|
number
)
:
MoodVector
<
M
>
updated
(
updates
:
MoodVectorUpdates
<
M
>
)
:
MoodVector
<
M
>
Parameters
key:
M
value:
undefined
|
number
Returns
MoodVector
<
M
>
Parameters
updates:
MoodVectorUpdates
<
M
>
Returns
MoodVector
<
M
>
Static
empty
empty<M>
(
)
:
MoodVector
<
M
>
Type parameters
M
:
Mood
Returns
MoodVector
<
M
>
Static
from
Any
from
Any<M>
(
value
:
AnyMoodVector
<
M
>
)
:
MoodVector
<
M
>
Type parameters
M
:
Mood
Parameters
value:
AnyMoodVector
<
M
>
Returns
MoodVector
<
M
>
Static
from
Array
from
Array<M>
(
array
:
readonly
[
M
,
number
]
[]
, index
?:
{}
)
:
MoodVector
<
M
>
Type parameters
M
:
Mood
Parameters
array:
readonly
[
M
,
number
]
[]
Optional
index:
{}
[
name:
string
]:
number
|
undefined
Returns
MoodVector
<
M
>
Static
index
index<M>
(
array
:
readonly
[
M
,
unknown
]
[]
)
:
{}
Type parameters
M
:
Mood
Parameters
array:
readonly
[
M
,
unknown
]
[]
Returns
{}
[
name:
string
]:
number
|
undefined
Static
of
of<M>
(
...
keys
:
[
M
,
number
]
[]
)
:
MoodVector
<
M
>
Type parameters
M
:
Mood
Parameters
Rest
...
keys:
[
M
,
number
]
[]
Returns
MoodVector
<
M
>
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Brightness
Feel
Color
Look
Feel
Feel
Vector
Feel
Vector
Interpolator
Font
Look
Interpolated
Feel
Length
Look
Look
Look
Vector
Mood
Matrix
Mood
Vector
constructor
array
index
size
copy
debug
dot
equals
for
Each
get
get
Or
has
is
Empty
minus
negative
plus
times
to
String
updated
empty
from
Any
from
Array
index
of
Number
Look
Opacity
Feel
Shadow
Look
Theme
Matrix
Timing
Look
Mood
Any
Feel
Vector
Any
Look
Vector
Any
Mood
Vector
Feel
Vector
Array
Feel
Vector
Updates
Look
Vector
Array
Look
Vector
Updates
Mood
Vector
Array
Mood
Vector
Updates
Mood
Theme
Generated using
TypeDoc