Updated Brushes (markdown)

Robert Beekman committed 2016-11-02 00:17:45 +01:00
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