本文整理了Java中java.awt.Rectangle.createUnion
方法的一些代码示例,展示了Rectangle.createUnion
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.createUnion
方法的具体详情如下:
包路径:java.awt.Rectangle
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!