return xObject;
}
/* ... otherwise, create a new one. */
if (img instanceof EpsGraphic) {
final EpsGraphic epsGraphic = (EpsGraphic) img;
xObject = new PDFXFormEps(pdfDoc, epsGraphic);
} else if (img instanceof SvgGraphic) {
final SvgGraphic svgGraphic = (SvgGraphic) img;
xObject = new PDFXFormSvg(pdfDoc, svgGraphic, fontConsumer,
strokeText);