Added gradient support for Bezier splines