Skip to content

$addColorStop

Adds a color stop to a gradent.

Usage

$addColorStop[canvas;gradient;offset;color]

Parameters

FieldDescriptionTypeRequired
canvasThe canvas name.stringtrue
gradientThe gradient name.stringtrue
offsetThe color stop offset.numbertrue
colorThe color of the stop.numbertrue