DominantColor

A description of the dominant colors in an image.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val blue: Int?

The Blue RGB value for a dominant color.

Link copied to clipboard

The CSS color name of a dominant color.

Link copied to clipboard
val green: Int?

The Green RGB value for a dominant color.

Link copied to clipboard

The Hex code equivalent of the RGB values for a dominant color.

Link copied to clipboard

The percentage of image pixels that have a given dominant color.

Link copied to clipboard
val red: Int?

The Red RGB value for a dominant color.

Link copied to clipboard

One of 12 simplified color names applied to a dominant color.

Functions

Link copied to clipboard
inline fun copy(block: DominantColor.Builder.() -> Unit = {}): DominantColor
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