bitmapReducer

fun bitmapReducer(state: Bitmap?, action: Any): Bitmap?

Reducer for the bitmap.

Return

the new bitmap.

Parameters

state

the current bitmap state.

action

the action to perform.