java.awt.Rectangle.createUnion()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(146)

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

Rectangle.createUnion介绍

暂无

代码示例

代码示例来源:origin: antlr/antlrworks

public Rect union(Rect r) {
  return new Rect((Rectangle)rectangle().createUnion(r.rectangle()));
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

nodeArea = (Rectangle)nodeArea.createUnion (lineArea);
} else {
  Line2D line = new Double (nodeArea.x-SHIFT_LEFT,
  nodeArea = (Rectangle)nodeArea.createUnion (lineArea);

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

nodeArea = (Rectangle)nodeArea.createUnion (lineArea);
} else {
  Line2D line = new Double (nodeArea.x-SHIFT_LEFT,
  nodeArea = (Rectangle)nodeArea.createUnion (lineArea);

代码示例来源:origin: org.netbeans.api/org-openide-explorer

nodeArea.x - SHIFT_LEFT, (nodeArea.y + SHIFT_DOWN) - 3, endPointX - nodeArea.x + SHIFT_LEFT, 5
    );
  nodeArea = (Rectangle) nodeArea.createUnion(lineArea);
} else {
  Line2D line = new Double(
      SHIFT_DOWN + 3
    );
  nodeArea = (Rectangle) nodeArea.createUnion(lineArea);

代码示例来源:origin: org.netbeans.api/org-openide-explorer

nodeArea = (Rectangle) nodeArea.createUnion(lineArea);
} else {
  Line2D line = new Double( 0, nodeArea.y + nodeArea.height, table.getWidth(), nodeArea.y + nodeArea.height );
  nodeArea = (Rectangle) nodeArea.createUnion(lineArea);

相关文章