Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/mapping
LinearScale
Interface LinearScale
Hierarchy
ContinuousScale
<
number
,
number
>
Interpolate
<
LinearScale
>
LinearScale
Callable
Linear
Scale
(
x
:
number
)
:
number
Parameters
x:
number
Returns
number
Index
Properties
domain
inverse
range
Methods
can
Equal
clamp
Domain
equals
equivalent
To
interpolate
To
over
Range
solve
Domain
to
String
with
Domain
Properties
Readonly
domain
domain
:
LinearDomain
Readonly
inverse
inverse
:
LinearScale
Readonly
range
range
:
LinearRange
Methods
can
Equal
can
Equal
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
clamp
Domain
clamp
Domain
(
xMin
:
undefined
|
number
, xMax
:
undefined
|
number
, zMin
:
undefined
|
number
, zMax
:
undefined
|
number
, epsilon
?:
number
)
:
LinearScale
Parameters
xMin:
undefined
|
number
xMax:
undefined
|
number
zMin:
undefined
|
number
zMax:
undefined
|
number
Optional
epsilon:
number
Returns
LinearScale
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
:
LinearScale
)
:
Interpolator
<
LinearScale
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
LinearScale
>
Parameters
that:
LinearScale
Returns
Interpolator
<
LinearScale
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
LinearScale
>
over
Range
over
Range
(
range
:
LinearRange
)
:
LinearScale
over
Range
(
y0
:
number
, y1
:
number
)
:
LinearScale
Parameters
range:
LinearRange
Returns
LinearScale
Parameters
y0:
number
y1:
number
Returns
LinearScale
solve
Domain
solve
Domain
(
x1
:
number
, y1
:
number
, x2
?:
number
, y2
?:
number
, reflect
?:
boolean
, epsilon
?:
number
)
:
LinearScale
Parameters
x1:
number
y1:
number
Optional
x2:
number
Optional
y2:
number
Optional
reflect:
boolean
Optional
epsilon:
number
Returns
LinearScale
to
String
to
String
(
)
:
string
Returns
string
with
Domain
with
Domain
(
domain
:
LinearDomain
)
:
LinearScale
with
Domain
(
x0
:
number
, x1
:
number
)
:
LinearScale
Parameters
domain:
LinearDomain
Returns
LinearScale
Parameters
x0:
number
x1:
number
Returns
LinearScale
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Linear
Scale
domain
inverse
range
can
Equal
clamp
Domain
equals
equivalent
To
interpolate
To
over
Range
solve
Domain
to
String
with
Domain
Generated using
TypeDoc