ColorModel

interface ColorModel<T : ColorModel<T>> : OpacifiableColor<T> , ConvertibleToColorRGBa, CastableToVector4

Functions

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

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

Link copied to clipboard
abstract fun toRGBa(): ColorRGBa

Convert into ColorRGBa.

Link copied to clipboard
abstract fun toVector4(): Vector4

Properties

Link copied to clipboard
abstract val alpha: Double

The opacity of the given color model.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard