You are looking at an outdated 7.12.0 version of this document. Switch to the 7.13.1 version to see the up to date information.

{typedef} Improve this Doc

Gradient keys.
Name Type Description
color string Key color -
offset number Gradient key value (0 to 1).
opacity number | undefined Key color opacity (0 to 1).