added clipping, pattern, shadows, gradient to canvas