本文整理了Java中com.lowagie.text.Image.getImageRotation()
方法的一些代码示例,展示了Image.getImageRotation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Image.getImageRotation()
方法的具体详情如下:
包路径:com.lowagie.text.Image
类名称:Image
方法名:getImageRotation
[英]Gets the current image rotation in radians.
[中]获取以弧度为单位的当前图像旋转。
代码示例来源:origin: com.github.librepdf/openpdf
if (cell.getRotation() != 0) {
img = Image.getInstance(img);
img.setRotation(img.getImageRotation() + (float)(cell.getRotation() * Math.PI / 180.0));
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
if (cell.getRotation() != 0) {
img = Image.getInstance(img);
img.setRotation(img.getImageRotation() + (float)(cell.getRotation() * Math.PI / 180.0));
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
if (cell.getRotation() != 0) {
img = Image.getInstance(img);
img.setRotation(img.getImageRotation() + (float)(cell.getRotation() * Math.PI / 180.0));
内容来源于网络,如有侵权,请联系作者删除!