Filter

fun interface Filter

A Filter provides a mechanism for exercising fine-grained control over which colors are valid within a resulting Palette.

Functions

Link copied to clipboard
abstract fun isAllowed(rgb: Int, hsl: FloatArray): Boolean

Hook to allow clients to be able filter colors from resulting palette.