本文整理了Java中com.itextpdf.text.Image.getLayer()
方法的一些代码示例,展示了Image.getLayer()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Image.getLayer()
方法的具体详情如下:
包路径:com.itextpdf.text.Image
类名称:Image
方法名:getLayer
[英]Gets the layer this image belongs to.
[中]获取此图像所属的层。
代码示例来源:origin: com.itextpdf/itextg
AffineTransform transform = new AffineTransform(a, b, c, d, e, f);
if (image.getLayer() != null)
beginLayer(image.getLayer());
if (isTagged()) {
if (inText)
restoreState();
if (image.getLayer() != null)
endLayer();
Annotation annot = image.getAnnotation();
代码示例来源:origin: com.itextpdf/itextpdf
AffineTransform transform = new AffineTransform(a, b, c, d, e, f);
if (image.getLayer() != null)
beginLayer(image.getLayer());
if (isTagged()) {
if (inText)
restoreState();
if (image.getLayer() != null)
endLayer();
Annotation annot = image.getAnnotation();
代码示例来源:origin: com.itextpdf/itextpdf
put(PdfName.WIDTH, new PdfNumber(image.getWidth()));
put(PdfName.HEIGHT, new PdfNumber(image.getHeight()));
if (image.getLayer() != null)
put(PdfName.OC, image.getLayer().getRef());
if (image.isMask() && (image.getBpc() == 1 || image.getBpc() > 0xff))
put(PdfName.IMAGEMASK, PdfBoolean.PDFTRUE);
代码示例来源:origin: com.itextpdf/itextg
put(PdfName.WIDTH, new PdfNumber(image.getWidth()));
put(PdfName.HEIGHT, new PdfNumber(image.getHeight()));
if (image.getLayer() != null)
put(PdfName.OC, image.getLayer().getRef());
if (image.isMask() && (image.getBpc() == 1 || image.getBpc() > 0xff))
put(PdfName.IMAGEMASK, PdfBoolean.PDFTRUE);
内容来源于网络,如有侵权,请联系作者删除!