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
LinearGradient
Class LinearGradient
Hierarchy
LinearGradient
Implements
Interpolate
<
LinearGradient
>
Equals
Equivalent
Index
Constructors
constructor
Properties
angle
stops
string
Value
Methods
equals
equivalent
To
interpolate
To
to
String
with
Angle
with
Stops
create
from
Any
from
Init
is
Any
is
Init
parse
parse
Angle
Constructors
constructor
new
Linear
Gradient
(
angle
:
LinearGradientAngle
, stops
:
readonly
ColorStop
[]
)
:
LinearGradient
Parameters
angle:
LinearGradientAngle
stops:
readonly
ColorStop
[]
Returns
LinearGradient
Properties
Readonly
angle
angle
:
LinearGradientAngle
Readonly
stops
stops
:
readonly
ColorStop
[]
Readonly
string
Value
string
Value
:
undefined
|
string
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
:
LinearGradient
)
:
Interpolator
<
LinearGradient
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
LinearGradient
>
Parameters
that:
LinearGradient
Returns
Interpolator
<
LinearGradient
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
LinearGradient
>
to
String
to
String
(
)
:
string
Returns
string
with
Angle
with
Angle
(
angle
:
AnyLinearGradientAngle
)
:
LinearGradient
Parameters
angle:
AnyLinearGradientAngle
Returns
LinearGradient
with
Stops
with
Stops
(
stops
:
readonly
AnyColorStop
[]
)
:
LinearGradient
Parameters
stops:
readonly
AnyColorStop
[]
Returns
LinearGradient
Static
create
create
(
angle
:
AnyLinearGradientAngle
,
...
stops
:
AnyColorStop
[]
)
:
LinearGradient
Parameters
angle:
AnyLinearGradientAngle
Rest
...
stops:
AnyColorStop
[]
Returns
LinearGradient
Static
from
Any
from
Any
(
value
:
AnyLinearGradient
)
:
LinearGradient
Parameters
value:
AnyLinearGradient
Returns
LinearGradient
Static
from
Init
from
Init
(
init
:
LinearGradientInit
)
:
LinearGradient
Parameters
init:
LinearGradientInit
Returns
LinearGradient
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyLinearGradient
Parameters
value:
unknown
Returns
value
is
AnyLinearGradient
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
LinearGradientInit
Parameters
value:
unknown
Returns
value
is
LinearGradientInit
Static
parse
parse
(
string
:
string
)
:
LinearGradient
Parameters
string:
string
Returns
LinearGradient
Static
parse
Angle
parse
Angle
(
string
:
string
)
:
LinearGradientAngle
Parameters
string:
string
Returns
LinearGradientAngle
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
Linear
Gradient
constructor
angle
stops
string
Value
equals
equivalent
To
interpolate
To
to
String
with
Angle
with
Stops
create
from
Any
from
Init
is
Any
is
Init
parse
parse
Angle
Generated using
TypeDoc