{
case PDShadingResources.SHADING_TYPE1:
paint = new Type1ShadingPaint((PDShadingType1)getShading(), getMatrix(), pageHeight);
break;
case PDShadingResources.SHADING_TYPE2:
paint = new AxialShadingPaint((PDShadingType2)getShading(), getMatrix(), pageHeight);
break;
case PDShadingResources.SHADING_TYPE3:
paint = new RadialShadingPaint((PDShadingType3)getShading(), getMatrix(), pageHeight);
break;
case PDShadingResources.SHADING_TYPE4: