openrndr / org.openrndr.color / AlgebraicColor

AlgebraicColor

interface AlgebraicColor<T : AlgebraicColor<T>> : LinearType<T> (source)

interface for algebraic color

Functions

div

open operator fun div(factor: Double): T

mix

open fun mix(other: T, factor: Double): T

Inheritors

ColorHSLa

color in HSL space

data class ColorHSLa : ConvertibleToColorRGBa, ShadableColor<ColorHSLa>, HueShiftableColor<ColorHSLa>, SaturatableColor<ColorHSLa>, AlgebraicColor<ColorHSLa>

ColorHSVa

A color respresentation in HSVa space

data class ColorHSVa : ConvertibleToColorRGBa, ShadableColor<ColorHSVa>, HueShiftableColor<ColorHSVa>, SaturatableColor<ColorHSVa>, AlgebraicColor<ColorHSVa>

ColorLABa

data class ColorLABa : ConvertibleToColorRGBa, OpacifiableColor<ColorLABa>, ShadableColor<ColorLABa>, AlgebraicColor<ColorLABa>

ColorLCHABa

data class ColorLCHABa : ConvertibleToColorRGBa, ShadableColor<ColorLCHABa>, OpacifiableColor<ColorLCHABa>, HueShiftableColor<ColorLCHABa>, AlgebraicColor<ColorLCHABa>

ColorLCHUVa

data class ColorLCHUVa : ConvertibleToColorRGBa, ShadableColor<ColorLCHUVa>, OpacifiableColor<ColorLCHUVa>, HueShiftableColor<ColorLCHUVa>, AlgebraicColor<ColorLCHUVa>

ColorLUVa

data class ColorLUVa : ConvertibleToColorRGBa, OpacifiableColor<ColorLUVa>, ShadableColor<ColorLUVa>, AlgebraicColor<ColorLUVa>

ColorRGBa

color in RGBa space

data class ColorRGBa : ConvertibleToColorRGBa, OpacifiableColor<ColorRGBa>, ShadableColor<ColorRGBa>, AlgebraicColor<ColorRGBa>

ColorXSLa

data class ColorXSLa : ConvertibleToColorRGBa, ShadableColor<ColorXSLa>, HueShiftableColor<ColorXSLa>, SaturatableColor<ColorXSLa>, OpacifiableColor<ColorXSLa>, AlgebraicColor<ColorXSLa>

ColorXSVa

data class ColorXSVa : ConvertibleToColorRGBa, ShadableColor<ColorXSVa>, HueShiftableColor<ColorXSVa>, SaturatableColor<ColorXSVa>, OpacifiableColor<ColorXSVa>, AlgebraicColor<ColorXSVa>

ColorXYZa

data class ColorXYZa : ConvertibleToColorRGBa, OpacifiableColor<ColorXYZa>, AlgebraicColor<ColorXYZa>