The OpenD Programming Language

LCh

A CIE L*C*h° color, parameterised for component type and white point. The LCh color space is a Lab cube color space, where instead of cartesian coordinates a*, b*, the cylindrical coordinates C* (chroma) and h° (hue angle) are specified. The CIELab lightness L* remains unchanged.

Members

Aliases

ComponentType
alias ComponentType = F

Type of the color components.

Functions

opCast
Color opCast()

Cast to other color types.

Manifest constants

whitePoint
enum whitePoint;

The color components that were specified.

Properties

radians
F radians [@property getter]

Get hue angle in radians.

radians
F radians [@property setter]

Set hue angle in radians.

Variables

C
F C;

C* (chroma) component.

L
F L;

L* (lightness) component.

h
F h;

h° (hue) component, in degrees.

Meta