ColorXSVa

Practically identical to ColorHSVa, but for mapping colors to classical painter's scheme of complementary colors.

See also

Constructors

ColorXSVa
Link copied to clipboard
fun ColorXSVa(x: Double, s: Double, v: Double, a: Double = 1.0)

Types

Companion
Link copied to clipboard
object Companion

Functions

div
Link copied to clipboard
open operator override fun div(scale: Double): ColorXSVa
minus
Link copied to clipboard
open operator override fun minus(right: ColorXSVa): ColorXSVa
mix
Link copied to clipboard
open override fun mix(other: ColorXSVa, factor: Double): ColorXSVa
opacify
Link copied to clipboard
open override fun opacify(factor: Double): ColorXSVa

Multiply the opacity by a factor

plus
Link copied to clipboard
open operator override fun plus(right: ColorXSVa): ColorXSVa
saturate
Link copied to clipboard
open override fun saturate(factor: Double): ColorXSVa

Multiply the saturation by a factor.

shade
Link copied to clipboard
open override fun shade(factor: Double): ColorXSVa

Multiply the shade by a factor.

shiftHue
Link copied to clipboard
open override fun shiftHue(shiftInDegrees: Double): ColorXSVa

Shift the hue of a color by the given amount of degrees.

times
Link copied to clipboard
open operator override fun times(scale: Double): ColorXSVa
toHSVa
Link copied to clipboard
fun toHSVa(): ColorHSVa
toRGBa
Link copied to clipboard
open override fun toRGBa(): ColorRGBa

Convert into ColorRGBa.

Properties

a
Link copied to clipboard
val a: Double = 1.0
s
Link copied to clipboard
val s: Double
v
Link copied to clipboard
val v: Double
x
Link copied to clipboard
val x: Double