ClearOnDisconnect

class ClearOnDisconnect(@ColorInt() color: Int) : 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

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

Functions

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

Properties

color
Link copied to clipboard
val color: Int