1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-12 16:58:29 +00:00
4
Solid Color Brush
DarthAffe edited this page 2017-01-10 12:13:39 +01:00

The SolidColorBrush is one of the default brushes provided by CUE.NET.
By just returning a single color for all LEDs it's the simplest brush imaginable.

A SolidColorBrush only needs to now about it's color, which is provided as constructor-parameter or by using the Color-Property.

SolidColorBrush solidColorBrush = new SolidColorBrush(Color.White);

To make it easier to use the SolidColorBrush, you can explicit cast it from any CorsairColor or System.Drawing.Color.