SESL Material
Toggle table of contents
1.12.0+1.0.31-sesl8+rev0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SESL Material
SESL Material
/
com.google.android.material.color.utilities
/
QuantizerMap
Quantizer
Map
@
RestrictTo
(
value
=
LIBRARY_GROUP
)
class
QuantizerMap
:
Quantizer
Creates a dictionary with keys of colors, and values of count of the color
Members
Constructors
Quantizer
Map
Link copied to clipboard
constructor
(
)
Properties
color
To
Count
Link copied to clipboard
open
val
colorToCount
:
Map
<
Integer
,
Integer
>
Functions
quantize
Link copied to clipboard
open
fun
quantize
(
pixels
:
Array
<
Int
>
,
colorCount
:
Int
)
:
QuantizerResult