HSI Constructor

Constructor in HSI

Declaration

public HSI(float hue, float saturation, float intensity)

Description

Creates new HSI components from the given values.

Parameters

hueThe hue component of the color in the range [0..1].
saturationThe saturation component of the color in the range [0..1].
intensityThe intensity component of the color in the range [0..1].

Overload

Declaration

public HSI(HSI other)

Description

Creates a new copy of the components.

Parameters

otherThe other components to copy.

Overload

Declaration

public HSI(Color color)

Description

Creates new HSI components from the given color.

Parameters

colorThe color to extract the components from.