Preparing search index...
The search index is not available
Swim
Swim
@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
like
Type?
to
String
with
Color
with
Hint
with
Stop
create
from
Init
from
Like
from
Tuple
parse
parse
Hint
parse
List
Constructors
constructor
new
Color
Stop
(
color
,
stop
,
hint
)
:
ColorStop
Parameters
color
:
Color
stop
:
Length
hint
:
Length
Returns
ColorStop
Properties
Readonly
color
color
:
Color
Readonly
hint
hint
:
Length
Readonly
stop
stop
:
Length
Methods
equals
equals
(
that
)
:
boolean
Parameters
that
:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
,
epsilon
?
)
:
boolean
Parameters
that
:
unknown
Optional
epsilon
:
number
Returns
boolean
interpolate
To
interpolate
To
(
that
)
:
Interpolator
<
ColorStop
>
Parameters
that
:
ColorStop
Returns
Interpolator
<
ColorStop
>
interpolate
To
(
that
)
:
Interpolator
<
ColorStop
>
Parameters
that
:
unknown
Returns
Interpolator
<
ColorStop
>
Optional
like
Type
like
Type
(
like
)
:
void
Parameters
like
:
string
|
ColorStopInit
|
ColorStopTuple
Returns
void
to
String
to
String
(
)
:
string
Returns
string
with
Color
with
Color
(
color
)
:
ColorStop
Parameters
color
:
ColorLike
Returns
ColorStop
with
Hint
with
Hint
(
hint
)
:
ColorStop
Parameters
hint
:
LengthLike
Returns
ColorStop
with
Stop
with
Stop
(
stop
)
:
ColorStop
Parameters
stop
:
LengthLike
Returns
ColorStop
Static
create
create
(
color
,
stop
?
,
hint
?
)
:
ColorStop
Parameters
color
:
ColorLike
Optional
stop
:
LengthLike
Optional
hint
:
LengthLike
Returns
ColorStop
Static
from
Init
from
Init
(
init
)
:
ColorStop
Parameters
init
:
ColorStopInit
Returns
ColorStop
Static
from
Like
from
Like
<
T
>
(
value
)
:
ColorStop
|
Uninitable
<
T
>
Type Parameters
T
extends
ColorStopLike
Parameters
value
:
T
Returns
ColorStop
|
Uninitable
<
T
>
Static
from
Tuple
from
Tuple
(
value
)
:
ColorStop
Parameters
value
:
ColorStopTuple
Returns
ColorStop
Static
parse
parse
(
string
)
:
ColorStop
Parameters
string
:
string
Returns
ColorStop
Static
parse
Hint
parse
Hint
(
string
)
:
ColorStop
Parameters
string
:
string
Returns
ColorStop
Static
parse
List
parse
List
(
string
)
:
ColorStop
[]
Parameters
string
:
string
Returns
ColorStop
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
color
hint
stop
equals
equivalent
To
interpolate
To
like
Type
to
String
with
Color
with
Hint
with
Stop
create
from
Init
from
Like
from
Tuple
parse
parse
Hint
parse
List
Swim
@swim/util
@swim/codec
@swim/component
@swim/collections
@swim/constraint
@swim/structure
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/warp
@swim/client
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/controller
@swim/button
Loading...
Generated using
TypeDoc