org.apache.poi.xslf.usermodel.XSLFTextShape.getRightInset()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(177)

本文整理了Java中org.apache.poi.xslf.usermodel.XSLFTextShape.getRightInset()方法的一些代码示例,展示了XSLFTextShape.getRightInset()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSLFTextShape.getRightInset()方法的具体详情如下:
包路径:org.apache.poi.xslf.usermodel.XSLFTextShape
类名称:XSLFTextShape
方法名:getRightInset

XSLFTextShape.getRightInset介绍

[英]Returns the distance (in points) between the right edge of the text frame and the right edge of the inscribed rectangle of the shape that contains the text.
[中]返回文本框的右边缘与包含文本的形状的内接矩形的右边缘之间的距离(以点为单位)。

代码示例

代码示例来源:origin: org.apache.poi/poi-ooxml

@Override
public Insets2D getInsets() {
  return new Insets2D(getTopInset(), getLeftInset(), getBottomInset(), getRightInset());
}

代码示例来源:origin: org.apache.poi/poi-ooxml

setLeftInset(leftInset);
double rightInset = otherTS.getRightInset();
if (rightInset != getRightInset()) {
  setRightInset(rightInset);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

@Override
public Insets2D getInsets() {
  return new Insets2D(getTopInset(), getLeftInset(), getBottomInset(), getRightInset());
}

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

double rightInset = _shape.getRightInset();

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

setLeftInset(leftInset);
double rightInset = tsh.getRightInset();
if(rightInset != getRightInset()) {
  setRightInset(rightInset);

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

public double draw(Graphics2D graphics, double x, double y){
  double leftInset = _shape.getLeftInset();
  double rightInset = _shape.getRightInset();
  RenderableShape rShape = new RenderableShape(_shape);
  Rectangle2D anchor = rShape.getAnchor(graphics);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

setLeftInset(leftInset);
double rightInset = otherTS.getRightInset();
if (rightInset != getRightInset()) {
  setRightInset(rightInset);

相关文章