ColorControlTrait.Feature

data class ColorControlTrait.Feature


ColorControl cluster FeatureMap.

Summary

Public constructors

Feature(
    hueAndSaturation: Boolean,
    enhancedHue: Boolean,
    colorLoop: Boolean,
    xy: Boolean,
    colorTemperature: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Supports color loop.

Boolean

Supports specification of color temperature.

Boolean

Supports enhanced hue.

Boolean

Supports color specification via hue and saturation.

Boolean

Supports color specification via XY.

Public constructors

Feature

Feature(
    hueAndSaturation: Boolean = false,
    enhancedHue: Boolean = false,
    colorLoop: Boolean = false,
    xy: Boolean = false,
    colorTemperature: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

colorLoop

val colorLoopBoolean

Supports color loop.

colorTemperature

val colorTemperatureBoolean

Supports specification of color temperature.

enhancedHue

val enhancedHueBoolean

Supports enhanced hue.

hueAndSaturation

val hueAndSaturationBoolean

Supports color specification via hue and saturation.

xy

val xyBoolean

Supports color specification via XY.