mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Updated Brushes (markdown)
1 parent
22c3e84693
commit
51b92552c9
1 file changed
+1
-1
+1
-1
@@ -63,7 +63,7 @@ brush GetSolidColorBrush(table gradientColors, [double startX, double startY, do
|
|||||||
- **endY:** The Y value of the end position of the gradient
|
- **endY:** The Y value of the end position of the gradient
|
||||||
#### Example:
|
#### Example:
|
||||||
```lua
|
```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 = {};
|
local colors = {};
|
||||||
colors[Brushes.GetColor(255, 255, 0, 0)] = 0; -- red
|
colors[Brushes.GetColor(255, 255, 0, 0)] = 0; -- red
|
||||||
colors[Brushes.GetColor(255, 255, 0, 255)] = 0.16; -- purple
|
colors[Brushes.GetColor(255, 255, 0, 255)] = 0.16; -- purple
|
||||||
|
|||||||
Reference in new issue
Block a user