Skip to content

Commit 8a2bfbd

Browse files
committed
Update gradient.jl
1 parent 0a94028 commit 8a2bfbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gradient.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
gradient(colors...; direction = [0,1,0,0])
2+
gradient([colors...]; direction = [0,1,0,0])
33
44
A linear gradient interpolates colors along a line, from a starting point to an ending point. By default a linear gradient runs horizontally, from left to right. Use the direction to configure the gradient direction, e.g. [0,0,0,1] runs the gradient vertically. All coordinates are defined in a normalized [0, 1] coordinate space, relative to the bounding box of the item being colored.
55

0 commit comments

Comments
 (0)