openrndr / org.openrndr.color / OpacifiableColor

OpacifiableColor

interface OpacifiableColor<T> (source)

interface for opacifable color

Functions

opacify

adjust opacity by multiplication

abstract fun opacify(factor: Double): T

Inheritors

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>