mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-01-01 18:23:32 +00:00
Updated Brushes (markdown)
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
|
- **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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user