2d.gradient.linear.nonfinite

createLinearGradient() throws TypeError if arguments are not finite