Skip to end of metadata
Go to start of metadata

Creates a linear gradient between 2 colors.

Properties

Property

Default

Notes

x1

0

 

y1

0

 

x2

100

 

y2

0

 

color1

'black'

 

color2

'white'

 

cycle

false

 

stretch

false

Scales the gradient to fit the Shape's bounds

fit

true

Scales the gradient retaining the aspect ratio

Examples

4 rectangles, each one with a diagonal gradient

Different settings for fit, stretch and cycle

  • No labels