Preparing search index...
The search index is not available
Swim
Swim
@swim/util
ContinuousScale
Interface ContinuousScale<X, Y>
Type Parameters
X
Y
Hierarchy
Scale
<
X
,
Y
>
ContinuousScale
Continuous
Scale
(
x
)
:
Y
Parameters
x
:
X
Returns
Y
Index
Properties
domain
inverse
range
Methods
can
Equal
clamp
Domain
equals
equivalent
To
over
Range
solve
Domain
to
String
with
Domain
Properties
Readonly
domain
domain
:
Domain
<
X
>
Readonly
inverse
inverse
:
Mapping
<
Y
,
X
>
Readonly
range
range
:
Range
<
Y
>
Methods
can
Equal
can
Equal
(
that
)
:
boolean
Parameters
that
:
unknown
Returns
boolean
clamp
Domain
clamp
Domain
(
xMin
,
xMax
,
zMin
,
zMax
,
epsilon
?
)
:
ContinuousScale
<
X
,
Y
>
Parameters
xMin
:
X
xMax
:
X
zMin
:
number
zMax
:
number
Optional
epsilon
:
number
Returns
ContinuousScale
<
X
,
Y
>
equals
equals
(
that
)
:
boolean
Parameters
that
:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
,
epsilon
?
)
:
boolean
Parameters
that
:
unknown
Optional
epsilon
:
number
Returns
boolean
over
Range
over
Range
(
range
)
:
ContinuousScale
<
X
,
Y
>
Parameters
range
:
Range
<
Y
>
Returns
ContinuousScale
<
X
,
Y
>
over
Range
(
y0
,
y1
)
:
ContinuousScale
<
X
,
Y
>
Parameters
y0
:
Y
y1
:
Y
Returns
ContinuousScale
<
X
,
Y
>
solve
Domain
solve
Domain
(
x1
,
y1
,
x2
?
,
y2
?
,
reflect
?
,
epsilon
?
)
:
ContinuousScale
<
X
,
Y
>
Parameters
x1
:
X
y1
:
Y
Optional
x2
:
X
Optional
y2
:
Y
Optional
reflect
:
boolean
Optional
epsilon
:
number
Returns
ContinuousScale
<
X
,
Y
>
to
String
to
String
(
)
:
string
Returns
string
with
Domain
with
Domain
(
domain
)
:
ContinuousScale
<
X
,
Y
>
Parameters
domain
:
Domain
<
X
>
Returns
ContinuousScale
<
X
,
Y
>
with
Domain
(
x0
,
x1
)
:
ContinuousScale
<
X
,
Y
>
Parameters
x0
:
X
x1
:
X
Returns
ContinuousScale
<
X
,
Y
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
domain
inverse
range
can
Equal
clamp
Domain
equals
equivalent
To
over
Range
solve
Domain
to
String
with
Domain
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