-
public interface DrawableToColorMapperA utility interface to convert a Drawable to a meaningful color. This interface is meant for internal usage, please use it carefully.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDrawableToColorMapper.Companion
-
Method Summary
Modifier and Type Method Description abstract IntegermapDrawableToColor(Drawable drawable, InternalLogger internalLogger)Maps the drawable to its meaningful color, or null if the drawable is mostly invisible. -
-
Method Detail
-
mapDrawableToColor
abstract Integer mapDrawableToColor(Drawable drawable, InternalLogger internalLogger)
Maps the drawable to its meaningful color, or null if the drawable is mostly invisible.
- Parameters:
drawable- the drawable to convertinternalLogger- the internalLogger to report warnings
-
-
-
-