Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Solid Color Brush

DarthAffe edited this page Jan 10, 2017 · 4 revisions

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.

Clone this wiki locally