Creates a linear gradient between 2 colors.
Property |
Default |
Notes |
|---|---|---|
x1 |
|
|
y1 |
|
|
x2 |
|
|
y2 |
|
|
color1 |
|
|
color2 |
|
|
cycle |
|
|
stretch |
|
Scales the gradient to fit the Shape's bounds |
fit |
|
Scales the gradient retaining the aspect ratio |
4 rectangles, each one with a diagonal gradient

Different settings for fit, stretch and cycle
|
|
|
|