本文整理了Java中com.lowagie.text.Rectangle.updateBorderBasedOnWidth
方法的一些代码示例,展示了Rectangle.updateBorderBasedOnWidth
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.updateBorderBasedOnWidth
方法的具体详情如下:
包路径:com.lowagie.text.Rectangle
类名称:Rectangle
方法名:updateBorderBasedOnWidth
[英]Helper function updating the border flag for a side based on the specified width. A width of 0 will disable the border on that side. Any other width enables it.
[中]助手函数根据指定的宽度更新边的边界标志。宽度为0将禁用该侧的边框。任何其他宽度都可以启用它。
代码示例来源:origin: com.github.librepdf/openpdf
/**
* Sets the width of the right border.
*
* @param borderWidthRight
* a width
*/
public void setBorderWidthRight(float borderWidthRight) {
this.borderWidthRight = borderWidthRight;
updateBorderBasedOnWidth(borderWidthRight, RIGHT);
}
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
/**
* Sets the width of the top border.
*
* @param borderWidthTop a width
*/
public void setBorderWidthTop(float borderWidthTop) {
this.borderWidthTop = borderWidthTop;
updateBorderBasedOnWidth(borderWidthTop, TOP);
}
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
/**
* Sets the width of the bottom border.
*
* @param borderWidthBottom a width
*/
public void setBorderWidthBottom(float borderWidthBottom) {
this.borderWidthBottom = borderWidthBottom;
updateBorderBasedOnWidth(borderWidthBottom, BOTTOM);
}
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
/**
* Sets the width of the top border.
*
* @param borderWidthTop a width
*/
public void setBorderWidthTop(float borderWidthTop) {
this.borderWidthTop = borderWidthTop;
updateBorderBasedOnWidth(borderWidthTop, TOP);
}
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
/**
* Sets the width of the right border.
*
* @param borderWidthRight a width
*/
public void setBorderWidthRight(float borderWidthRight) {
this.borderWidthRight = borderWidthRight;
updateBorderBasedOnWidth(borderWidthRight, RIGHT);
}
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
/**
* Sets the width of the left border.
*
* @param borderWidthLeft a width
*/
public void setBorderWidthLeft(float borderWidthLeft) {
this.borderWidthLeft = borderWidthLeft;
updateBorderBasedOnWidth(borderWidthLeft, LEFT);
}
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
/**
* Sets the width of the right border.
*
* @param borderWidthRight a width
*/
public void setBorderWidthRight(float borderWidthRight) {
this.borderWidthRight = borderWidthRight;
updateBorderBasedOnWidth(borderWidthRight, RIGHT);
}
代码示例来源:origin: com.github.librepdf/openpdf
/**
* Sets the width of the left border.
*
* @param borderWidthLeft
* a width
*/
public void setBorderWidthLeft(float borderWidthLeft) {
this.borderWidthLeft = borderWidthLeft;
updateBorderBasedOnWidth(borderWidthLeft, LEFT);
}
代码示例来源:origin: com.github.librepdf/openpdf
/**
* Sets the width of the top border.
*
* @param borderWidthTop
* a width
*/
public void setBorderWidthTop(float borderWidthTop) {
this.borderWidthTop = borderWidthTop;
updateBorderBasedOnWidth(borderWidthTop, TOP);
}
代码示例来源:origin: com.github.librepdf/openpdf
/**
* Sets the width of the bottom border.
*
* @param borderWidthBottom
* a width
*/
public void setBorderWidthBottom(float borderWidthBottom) {
this.borderWidthBottom = borderWidthBottom;
updateBorderBasedOnWidth(borderWidthBottom, BOTTOM);
}
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
/**
* Sets the width of the left border.
*
* @param borderWidthLeft a width
*/
public void setBorderWidthLeft(float borderWidthLeft) {
this.borderWidthLeft = borderWidthLeft;
updateBorderBasedOnWidth(borderWidthLeft, LEFT);
}
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
/**
* Sets the width of the bottom border.
*
* @param borderWidthBottom a width
*/
public void setBorderWidthBottom(float borderWidthBottom) {
this.borderWidthBottom = borderWidthBottom;
updateBorderBasedOnWidth(borderWidthBottom, BOTTOM);
}
内容来源于网络,如有侵权,请联系作者删除!