Search
Preparing search index...
The search index is not available
image-q
Options
All
Public
Public/Protected
All
Inherited
Menu
image-q
utils
Palette
Class Palette
Hierarchy
Palette
Index
Constructors
constructor
Methods
add
get
Nearest
Color
get
Point
Container
has
sort
Constructors
constructor
new
Palette
(
)
:
Palette
Returns
Palette
Methods
add
add
(
color
:
Point
)
:
void
Parameters
color:
Point
Returns
void
get
Nearest
Color
get
Nearest
Color
(
colorDistanceCalculator
:
AbstractDistanceCalculator
, color
:
Point
)
:
Point
Parameters
colorDistanceCalculator:
AbstractDistanceCalculator
color:
Point
Returns
Point
get
Point
Container
get
Point
Container
(
)
:
PointContainer
Returns
PointContainer
has
has
(
color
:
Point
)
:
boolean
Parameters
color:
Point
Returns
boolean
sort
sort
(
)
:
void
Returns
void
Exports
constants
conversion
distance
image
palette
quality
utils
arithmetic
Palette
constructor
add
get
Nearest
Color
get
Point
Container
has
sort
Generated using
TypeDoc