case 1:
// TODO
LOG.debug("Function based shading not yet supported");
break;
case 2:
paint = new AxialShadingPaint((PDShadingType2)shading, ctm, pageSize.height);
break;
case 3:
paint = new RadialShadingPaint((PDShadingType3)shading, ctm, pageSize.height);
break;
case 4: