setPosition

setPosition(float value) function

Returns or sets the position (0..1) of a gradient stop. Read/write float.