Sets the linear-gradient callback on the paint functions struct.
A paint functions struct
The linear-gradient callback
Sets the linear-gradient callback on the paint functions struct.