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
ColorStop
Class ColorStop
Hierarchy
ColorStop
Implements
Interpolate
<
ColorStop
>
Equals
Equivalent
Index
Constructors
constructor
Properties
color
hint
stop
Methods
equals
equivalent
To
interpolate
To
to
String
with
Color
with
Hint
with
Stop
create
from
Any
from
Init
from
Tuple
is
Any
is
Init
is
Tuple
parse
parse
Hint
parse
List
Constructors
constructor
new
Color
Stop
(
color
:
Color
, stop
:
null
|
Length
, hint
:
null
|
Length
)
:
ColorStop
Parameters
color:
Color
stop:
null
|
Length
hint:
null
|
Length
Returns
ColorStop
Properties
Readonly
color
color
:
Color
Readonly
hint
hint
:
null
|
Length
Readonly
stop
stop
:
null
|
Length
Methods
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
:
ColorStop
)
:
Interpolator
<
ColorStop
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
ColorStop
>
Parameters
that:
ColorStop
Returns
Interpolator
<
ColorStop
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
ColorStop
>
to
String
to
String
(
)
:
string
Returns
string
with
Color
with
Color
(
color
:
AnyColor
)
:
ColorStop
Parameters
color:
AnyColor
Returns
ColorStop
with
Hint
with
Hint
(
hint
:
null
|
AnyLength
)
:
ColorStop
Parameters
hint:
null
|
AnyLength
Returns
ColorStop
with
Stop
with
Stop
(
stop
:
null
|
AnyLength
)
:
ColorStop
Parameters
stop:
null
|
AnyLength
Returns
ColorStop
Static
create
create
(
color
:
AnyColor
, stop
?:
null
|
AnyLength
, hint
?:
null
|
AnyLength
)
:
ColorStop
Parameters
color:
AnyColor
Optional
stop:
null
|
AnyLength
Optional
hint:
null
|
AnyLength
Returns
ColorStop
Static
from
Any
from
Any
(
value
:
AnyColorStop
)
:
ColorStop
Parameters
value:
AnyColorStop
Returns
ColorStop
Static
from
Init
from
Init
(
init
:
ColorStopInit
)
:
ColorStop
Parameters
init:
ColorStopInit
Returns
ColorStop
Static
from
Tuple
from
Tuple
(
value
:
ColorStopTuple
)
:
ColorStop
Parameters
value:
ColorStopTuple
Returns
ColorStop
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyColorStop
Parameters
value:
unknown
Returns
value
is
AnyColorStop
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
ColorStopInit
Parameters
value:
unknown
Returns
value
is
ColorStopInit
Static
is
Tuple
is
Tuple
(
value
:
unknown
)
:
value
is
ColorStopTuple
Parameters
value:
unknown
Returns
value
is
ColorStopTuple
Static
parse
parse
(
string
:
string
)
:
ColorStop
Parameters
string:
string
Returns
ColorStop
Static
parse
Hint
parse
Hint
(
string
:
string
)
:
ColorStop
Parameters
string:
string
Returns
ColorStop
Static
parse
List
parse
List
(
string
:
string
)
:
ColorStop
[]
Parameters
string:
string
Returns
ColorStop
[]
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
constructor
color
hint
stop
equals
equivalent
To
interpolate
To
to
String
with
Color
with
Hint
with
Stop
create
from
Any
from
Init
from
Tuple
is
Any
is
Init
is
Tuple
parse
parse
Hint
parse
List
Generated using
TypeDoc