addSchemeColor

addSchemeColor(float position, int schemeColor) function

Creates the new gradient stop and adds it to the end of collection.

Parameters

NameTypeDescription
positionfloatPosition of the new gradient stop.
schemeColorintColor of the new radient stop.

Result

GradientStop