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
ThemeMatrix
Class ThemeMatrix
Hierarchy
ThemeMatrix
Implements
Equals
Debug
Index
Constructors
constructor
Properties
col
Array
col
Index
row
Array
row
Index
Accessors
col
Count
row
Count
Methods
col
debug
dot
dot
Or
equals
get
get
Col
get
Or
get
Row
has
Col
has
Row
minus
negative
plus
row
times
times
Col
to
String
transform
updated
Col
updated
Row
empty
for
Cols
for
Rows
from
Col
Array
from
Row
Array
Constructors
constructor
new
Theme
Matrix
(
rowArray
:
readonly
[
Look
<
unknown
,
never
>
,
LookVector
<
unknown
>
]
[]
, rowIndex
:
{}
, colArray
:
readonly
[
Feel
,
FeelVector
]
[]
, colIndex
:
{}
)
:
ThemeMatrix
Parameters
rowArray:
readonly
[
Look
<
unknown
,
never
>
,
LookVector
<
unknown
>
]
[]
rowIndex:
{}
[
name:
string
]:
number
|
undefined
colArray:
readonly
[
Feel
,
FeelVector
]
[]
colIndex:
{}
[
name:
string
]:
number
|
undefined
Returns
ThemeMatrix
Properties
Readonly
col
Array
col
Array
:
readonly
[
Feel
,
FeelVector
]
[]
Readonly
col
Index
col
Index
:
{}
Type declaration
[
name:
string
]:
number
|
undefined
Readonly
row
Array
row
Array
:
readonly
[
Look
<
unknown
,
never
>
,
LookVector
<
unknown
>
]
[]
Readonly
row
Index
row
Index
:
{}
Type declaration
[
name:
string
]:
number
|
undefined
Accessors
col
Count
get
colCount
(
)
:
number
Returns
number
row
Count
get
rowCount
(
)
:
number
Returns
number
Methods
col
col
(
feel
:
Feel
, col
:
undefined
|
AnyFeelVector
)
:
ThemeMatrix
Parameters
feel:
Feel
col:
undefined
|
AnyFeelVector
Returns
ThemeMatrix
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
dot
dot<T>
(
look
:
Look
<
T
,
never
>
, col
:
MoodVector
<
Feel
>
)
:
undefined
|
T
dot
(
look
:
string
|
number
, col
:
MoodVector
<
Feel
>
)
:
unknown
Type parameters
T
Parameters
look:
Look
<
T
,
never
>
col:
MoodVector
<
Feel
>
Returns
undefined
|
T
Parameters
look:
string
|
number
col:
MoodVector
<
Feel
>
Returns
unknown
dot
Or
dot
Or<T, E>
(
look
:
Look
<
T
,
never
>
, col
:
MoodVector
<
Feel
>
, elseValue
:
E
)
:
T
|
E
dot
Or
(
look
:
string
|
number
, col
:
MoodVector
<
Feel
>
, elseValue
:
unknown
)
:
unknown
Type parameters
T
E
Parameters
look:
Look
<
T
,
never
>
col:
MoodVector
<
Feel
>
elseValue:
E
Returns
T
|
E
Parameters
look:
string
|
number
col:
MoodVector
<
Feel
>
elseValue:
unknown
Returns
unknown
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
get
get<T>
(
look
:
Look
<
T
,
never
>
, mood
:
MoodVector
<
Feel
>
)
:
undefined
|
T
Type parameters
T
Parameters
look:
Look
<
T
,
never
>
mood:
MoodVector
<
Feel
>
Returns
undefined
|
T
get
Col
get
Col
(
feel
:
Feel
)
:
undefined
|
FeelVector
get
Col
(
name
:
string
)
:
undefined
|
FeelVector
get
Col
(
index
:
number
)
:
undefined
|
FeelVector
Parameters
feel:
Feel
Returns
undefined
|
FeelVector
Parameters
name:
string
Returns
undefined
|
FeelVector
Parameters
index:
number
Returns
undefined
|
FeelVector
get
Or
get
Or<T, E>
(
look
:
Look
<
T
,
never
>
, mood
:
MoodVector
<
Feel
>
, elseValue
:
E
)
:
T
|
E
Type parameters
T
E
Parameters
look:
Look
<
T
,
never
>
mood:
MoodVector
<
Feel
>
elseValue:
E
Returns
T
|
E
get
Row
get
Row<T>
(
look
:
Look
<
T
,
never
>
)
:
undefined
|
LookVector
<
T
>
get
Row
(
name
:
string
)
:
undefined
|
LookVector
<
unknown
>
get
Row
(
index
:
number
)
:
undefined
|
LookVector
<
unknown
>
Type parameters
T
Parameters
look:
Look
<
T
,
never
>
Returns
undefined
|
LookVector
<
T
>
Parameters
name:
string
Returns
undefined
|
LookVector
<
unknown
>
Parameters
index:
number
Returns
undefined
|
LookVector
<
unknown
>
has
Col
has
Col
(
feel
:
Feel
)
:
boolean
has
Col
(
name
:
string
)
:
boolean
Parameters
feel:
Feel
Returns
boolean
Parameters
name:
string
Returns
boolean
has
Row
has
Row
(
look
:
Look
<
unknown
,
never
>
)
:
boolean
has
Row
(
name
:
string
)
:
boolean
Parameters
look:
Look
<
unknown
,
never
>
Returns
boolean
Parameters
name:
string
Returns
boolean
minus
minus
(
that
:
ThemeMatrix
)
:
ThemeMatrix
Parameters
that:
ThemeMatrix
Returns
ThemeMatrix
negative
negative
(
)
:
ThemeMatrix
Returns
ThemeMatrix
plus
plus
(
that
:
ThemeMatrix
)
:
ThemeMatrix
Parameters
that:
ThemeMatrix
Returns
ThemeMatrix
row
row<T, U>
(
look
:
Look
<
T
,
U
>
, row
:
undefined
|
AnyLookVector
<
T
>
)
:
ThemeMatrix
Type parameters
T
U =
never
Parameters
look:
Look
<
T
,
U
>
row:
undefined
|
AnyLookVector
<
T
>
Returns
ThemeMatrix
times
times
(
scalar
:
number
)
:
ThemeMatrix
Parameters
scalar:
number
Returns
ThemeMatrix
times
Col
times
Col
(
col
:
MoodVector
<
Feel
>
)
:
FeelVector
Parameters
col:
MoodVector
<
Feel
>
Returns
FeelVector
to
String
to
String
(
)
:
string
Returns
string
transform
transform
(
that
:
MoodMatrix
<
Feel
,
Feel
>
, implicitIdentity
?:
boolean
)
:
ThemeMatrix
Parameters
that:
MoodMatrix
<
Feel
,
Feel
>
Optional
implicitIdentity:
boolean
Returns
ThemeMatrix
updated
Col
updated
Col
(
feel
:
Feel
, updates
:
FeelVectorUpdates
, defaultCol
?:
AnyFeelVector
)
:
ThemeMatrix
Parameters
feel:
Feel
updates:
FeelVectorUpdates
Optional
defaultCol:
AnyFeelVector
Returns
ThemeMatrix
updated
Row
updated
Row<T, U>
(
look
:
Look
<
T
,
U
>
, updates
:
LookVectorUpdates
<
T
>
, defaultRow
?:
AnyLookVector
<
T
>
)
:
ThemeMatrix
Type parameters
T
U =
never
Parameters
look:
Look
<
T
,
U
>
updates:
LookVectorUpdates
<
T
>
Optional
defaultRow:
AnyLookVector
<
T
>
Returns
ThemeMatrix
Static
empty
empty
(
)
:
ThemeMatrix
Returns
ThemeMatrix
Static
for
Cols
for
Cols
(
...
cols
:
[
Feel
,
AnyFeelVector
]
[]
)
:
ThemeMatrix
Parameters
Rest
...
cols:
[
Feel
,
AnyFeelVector
]
[]
Returns
ThemeMatrix
Static
for
Rows
for
Rows
(
...
rows
:
[
Look
<
unknown
,
never
>
,
AnyLookVector
<
unknown
>
]
[]
)
:
ThemeMatrix
Parameters
Rest
...
rows:
[
Look
<
unknown
,
never
>
,
AnyLookVector
<
unknown
>
]
[]
Returns
ThemeMatrix
Static
from
Col
Array
from
Col
Array
(
colArray
:
readonly
[
Feel
,
FeelVector
]
[]
, colIndex
?:
{}
)
:
ThemeMatrix
Parameters
colArray:
readonly
[
Feel
,
FeelVector
]
[]
Optional
colIndex:
{}
[
name:
string
]:
number
|
undefined
Returns
ThemeMatrix
Static
from
Row
Array
from
Row
Array
(
rowArray
:
readonly
[
Look
<
unknown
,
never
>
,
LookVector
<
unknown
>
]
[]
, rowIndex
?:
{}
)
:
ThemeMatrix
Parameters
rowArray:
readonly
[
Look
<
unknown
,
never
>
,
LookVector
<
unknown
>
]
[]
Optional
rowIndex:
{}
[
name:
string
]:
number
|
undefined
Returns
ThemeMatrix
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
Number
Look
Opacity
Feel
Shadow
Look
Theme
Matrix
constructor
col
Array
col
Index
row
Array
row
Index
col
Count
row
Count
col
debug
dot
dot
Or
equals
get
get
Col
get
Or
get
Row
has
Col
has
Row
minus
negative
plus
row
times
times
Col
to
String
transform
updated
Col
updated
Row
empty
for
Cols
for
Rows
from
Col
Array
from
Row
Array
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