# Scrawl-canvas v8 - Canvas test 003

## Linear gradients

paletteStart
paletteEnd
Cycle palette
Int. color space
Ret. color space
startX
endX
startY
endY
Include red
Include blue
Easing
Precision
RGB
HSL
HWB
LAB
LCH
OKLAB
OKLCH

#### Test purpose

- Setup a linear gradient, and a block entity which uses the gradient for its fillStyle value
- Check that we can successfully manipulate the gradient's start and end coordinates
- Check that we can successfully manipulate the palettes's start and end cursors
- Check that we can dynamically add and remove color stops
- Check that we can ease the gradient, including user-defined easing algorithms
- Check that when precision is set to 0, gradient uses the linear easing
- Check that when cyclePalette is set to true and the palette's end value is smaller than its start value, the gradient draws itself by going through the 0/999 endpoints

Touch test: not required

Annotated code