Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/style
ColorStopInterpolator
Interface ColorStopInterpolator
Hierarchy
Interpolator
<
ColorStop
>
ColorStopInterpolator
Callable
Color
Stop
Interpolator
(
x
:
number
)
:
ColorStop
Parameters
x:
number
Returns
ColorStop
Index
Properties
0
1
color
Interpolator
domain
hint
Interpolator
range
stop
Interpolator
Methods
can
Equal
equals
equivalent
To
interpolate
To
map
to
String
Properties
Readonly
0
0
:
ColorStop
Readonly
1
1
:
ColorStop
Readonly
color
Interpolator
color
Interpolator
:
Interpolator
<
Color
>
Readonly
domain
domain
:
LinearDomain
Readonly
hint
Interpolator
hint
Interpolator
:
Interpolator
<
null
|
Length
>
Readonly
range
range
:
ColorStopInterpolator
Readonly
stop
Interpolator
stop
Interpolator
:
Interpolator
<
null
|
Length
>
Methods
can
Equal
can
Equal
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
interpolate
To
interpolate
To
(
that
:
Interpolator
<
ColorStop
>
)
:
Interpolator
<
Interpolator
<
ColorStop
>
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
Interpolator
<
ColorStop
>
>
Parameters
that:
Interpolator
<
ColorStop
>
Returns
Interpolator
<
Interpolator
<
ColorStop
>
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
Interpolator
<
ColorStop
>
>
map
map<FY>
(
transform
:
(
y
:
ColorStop
)
=>
FY
)
:
Interpolator
<
FY
>
Type parameters
FY
Parameters
transform:
(
y
:
ColorStop
)
=>
FY
(
y
:
ColorStop
)
:
FY
Parameters
y:
ColorStop
Returns
FY
Returns
Interpolator
<
FY
>
to
String
to
String
(
)
:
string
Returns
string
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
Color
Stop
Interpolator
0
1
color
Interpolator
domain
hint
Interpolator
range
stop
Interpolator
can
Equal
equals
equivalent
To
interpolate
To
map
to
String
Generated using
TypeDoc