1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Updated Brushes (markdown)

Robert Beekman 2016-11-02 00:17:45 +01:00
parent 22c3e84693
commit 51b92552c9

@ -63,7 +63,7 @@ brush GetSolidColorBrush(table gradientColors, [double startX, double startY, do
- **endY:** The Y value of the end position of the gradient
#### Example:
```lua
-- Create a table and in that table add tables containing a color and an offset
-- Create a table and add keys to it (the color) and values (the offset).
local colors = {};
colors[Brushes.GetColor(255, 255, 0, 0)] = 0; -- red
colors[Brushes.GetColor(255, 255, 0, 255)] = 0.16; -- purple