Hue

value class Hue(source)

A hue angle in degrees, always normalised to [0, 360). Create one with Hue(degrees), which wraps any angle (negative or beyond a full turn).

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun rotate(degrees: Float): Hue

Returns this hue rotated by degrees and wrapped into [0, 360).