Table of Contents

Class ColorFlowStep

Namespace
Yeelight
Assembly
YeelightClient.dll

One step of a ColorFlow: a change of colour or colour temperature, or a pause, and how long it takes.

public sealed class ColorFlowStep
Inheritance
ColorFlowStep
Inherited Members

Remarks

Properties

Brightness

Gets the brightness that the step changes to, or null when the step leaves the brightness as it is (and always for a sleep).

Duration

Gets how long the step takes: the time that the light needs to change gradually, or the time that it sleeps.

Mode

Gets what the step does.

Value

Gets the colour as a number (Rgb) or the colour temperature in kelvin (ColorTemperature), and 0 for a sleep.

Methods

ColorTemperature(int, TimeSpan, int?)

Makes a step that changes the colour temperature.

Rgb(Color, TimeSpan, int?)

Makes a step that changes the colour.

Rgb(int, int, int, TimeSpan, int?)

Makes a step that changes the colour.

Sleep(TimeSpan)

Makes a step that does nothing for a while.

ToString()

Returns a string that represents the current object.