From eba7ab8eab6b900fca421669843dcce697dbe4db Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Fri, 17 Nov 2017 19:41:50 +0100 Subject: [PATCH] Updated Understanding CUE.NET brushes (markdown) --- Understanding-CUE.NET-brushes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Understanding-CUE.NET-brushes.md b/Understanding-CUE.NET-brushes.md index 921c3a4..683a99d 100644 --- a/Understanding-CUE.NET-brushes.md +++ b/Understanding-CUE.NET-brushes.md @@ -25,12 +25,12 @@ myLedGroup.Brush = brush; > In most cases it's recommended to use the device-brush as an background and work on a ledgroups only, even if you want to color the whole device. Otherwise using transparency might cause some sort of color-bleeding. > Adding a rainbow over the whole keyboard could look like this: -> ```C# +```C# CueSDK.KeyboardSDK.Brush = (SolidColorBrush) Color.Black; ILedGroup rainbowLeds = new ListLedGroup(CueSDK.KeyboardSDK, CueSDK.KeyboardSDK); rainbowLeds.Brush = new LinearGradientBrush(new RainbowGradient()); CueSDK.KeyboardSDK.Update(); ->``` +``` ### Configuring brushes Every brush offers a basic set of options to customize it's look.