android-components / mozilla.components.browser.icons.processor / ColorProcessor

ColorProcessor

class ColorProcessor : IconProcessor (source)

IconProcessor implementation to extract the dominant color from the icon.

Constructors

Name Summary
<init> ColorProcessor()
IconProcessor implementation to extract the dominant color from the icon.

Functions

Name Summary
process fun process(context: <ERROR CLASS>, request: IconRequest, resource: Resource?, icon: Icon, desiredSize: DesiredSize): Icon