← Previous Next →

Scrawl-canvas v8 - Canvas test 003

Linear gradients

paletteStart
paletteEnd
Cycle palette
Spread
Int. color space
Ret. color space
startX
endX
startY
endY
Include red
Include blue
Easing
Precision
Operations
Screen capture image of the demo canvas
Roll
Scale
Flip reverse
Flip upend
Fill style
Stroke style
Lock fillStyle to entity
Lock strokeStyle to entity

To note: Javascript is not running in this browser environment. The canvas element is ignored; instead a placeholder image displays where the canvas would have appeared.

CSS-equivalent gradients

RGB
HSL
HWB
LAB
LCH
OKLAB
OKLCH

Test purpose

Touch test: not required

Note that the CSS gradients directly beneath the <canvas> element have been generated using the following CSS markup:

Annotated code