OpacifiableColor

interface OpacifiableColor<T>

Functions

opacify
Link copied to clipboard
abstract fun opacify(factor: Double): T

Returns a copy of the color with the opacity (alpha) multiplied by a factor.

Properties

alpha
Link copied to clipboard
abstract val alpha: Double

The opacity of the given color model.

Inheritors

ColorModel
Link copied to clipboard