Preparing search index...
The search index is not available
Swim
Swim
@swim/util
Scale
Interface Scale<X, Y>
Type Parameters
X
Y
Hierarchy
Mapping
<
X
,
Y
>
Scale
Scale
(
x
)
:
Y
Parameters
x
:
X
Returns
Y
Index
Properties
domain
inverse
range
Methods
can
Equal
equals
equivalent
To
over
Range
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
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
)
:
Scale
<
X
,
Y
>
Parameters
range
:
Range
<
Y
>
Returns
Scale
<
X
,
Y
>
over
Range
(
y0
,
y1
)
:
Scale
<
X
,
Y
>
Parameters
y0
:
Y
y1
:
Y
Returns
Scale
<
X
,
Y
>
to
String
to
String
(
)
:
string
Returns
string
with
Domain
with
Domain
(
domain
)
:
Scale
<
X
,
Y
>
Parameters
domain
:
Domain
<
X
>
Returns
Scale
<
X
,
Y
>
with
Domain
(
x0
,
x1
)
:
Scale
<
X
,
Y
>
Parameters
x0
:
X
x1
:
X
Returns
Scale
<
X
,
Y
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
domain
inverse
range
can
Equal
equals
equivalent
To
over
Range
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