ClearOnDisconnect

class ClearOnDisconnect(@ColorInt val color: Int = Color.BLACK) : ImageProcessor.Output.Option

When ImageProcessor disconnects an Output, its contents should be cleared to the specified color. When not provided, the color is opaque black, by default.

Constructors

Link copied to clipboard
fun ClearOnDisconnect(@ColorInt color: Int = Color.BLACK)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val color: Int