Search
Preparing search index...
The search index is not available
LineUpJS - v4.6.2
Options
All
Public
Public/Protected
All
Inherited
Menu
LineUpJS - v4.6.2
src
QuantizedColorFunction
Class QuantizedColorFunction
Hierarchy
QuantizedColorFunction
Implements
IColorMappingFunction
Index
Constructors
constructor
Properties
base
steps
Methods
apply
clone
eq
toJSON
Constructors
constructor
new
Quantized
Color
Function
(
dump
:
ITypedDump
, factory
:
ITypeFactory
)
:
QuantizedColorFunction
new
Quantized
Color
Function
(
base
:
IColorMappingFunction
, steps
:
number
)
:
QuantizedColorFunction
Parameters
dump:
ITypedDump
factory:
ITypeFactory
Returns
QuantizedColorFunction
Parameters
base:
IColorMappingFunction
steps:
number
Returns
QuantizedColorFunction
Properties
Readonly
base
base
:
IColorMappingFunction
Readonly
steps
steps
:
number
Methods
apply
apply
(
v
:
number
)
:
string
Parameters
v:
number
Returns
string
clone
clone
(
)
:
QuantizedColorFunction
Returns
QuantizedColorFunction
eq
eq
(
other
:
IColorMappingFunction
)
:
boolean
Parameters
other:
IColorMappingFunction
Returns
boolean
toJSON
toJSON
(
)
:
{
base
:
string
|
ITypedDump
;
steps
:
number
;
type
:
string
}
Returns
{
base
:
string
|
ITypedDump
;
steps
:
number
;
type
:
string
}
base
:
string
|
ITypedDump
steps
:
number
type
:
string
Modules
src
builder
Adapter
renderer
Classes
renderer
Utils
tsd
Quantized
Color
Function
constructor
base
steps
apply
clone
eq
toJSON