LMS Constructor

Constructor in LMS

Declaration

public LMS(float L, float M, float S)

Description

Creates new LMS components from the given values.

Parameters

LThe long cone cell of the human eye.
MThe medium cone cell of the human eye.
SThe short cone cell of the human eye.

Overload

Declaration

public LMS(LMS other)

Description

Creates a new copy of the components.

Parameters

otherThe other components to copy.

Overload

Declaration

public LMS(Color color)

Description

Creates new LMS components from the given color.

Parameters

colorThe color to extract the components from.