mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 09:08:34 +00:00
Updated Solid Color Brush (markdown)
parent
a5d5b8081c
commit
1ec319b5d5
@ -1,7 +1,9 @@
|
|||||||
The _SolidColorBrush_ is one of the default brushes provided by CUE.NET.
|
The _SolidColorBrush_ is one of the default brushes provided by CUE.NET.
|
||||||
By just returning a single color for all keys it get applied it's the simplest brush imaginable.
|
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.
|
A _SolidColorBrush_ only needs to now about it's color, which is provided as constructor-parameter or by using the _Color_-Property.
|
||||||
```C#
|
```C#
|
||||||
SolidColorBrush solidColorBrush = new SolidColorBrush(Color.White);
|
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.
|
||||||
Loading…
x
Reference in New Issue
Block a user