(PECL cairo >= 0.1.0)
Create a new CairoLinearGradient along the line defined
$x0
$y0
$x1
$y1
$offset
$red
$green
$blue
$alpha
$index
$extend