1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.4.2_11) on Mon Mar 17 10:05:29 GMT 2008 -->
7
RectUtils (JGraph v5.12.0.4 API Specification)
10
<META NAME="keywords" CONTENT="org.jgraph.util.RectUtils class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="RectUtils (JGraph v5.12.0.4 API Specification)";
23
<BODY BGCOLOR="white" onload="windowTitle();">
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
<TR ALIGN="center" VALIGN="top">
35
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
36
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
37
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RectUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
39
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
<p><b>JGraph</b><br>v5.12.0.4</p></EM>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
<A HREF="../../../org/jgraph/util/ParallelEdgeRouter.html" title="class in org.jgraph.util"><B>PREV CLASS</B></A>
54
<A HREF="../../../org/jgraph/util/Spline.html" title="class in org.jgraph.util"><B>NEXT CLASS</B></A></FONT></TD>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
57
<A HREF="RectUtils.html" target="_top"><B>NO FRAMES</B></A>
58
<SCRIPT type="text/javascript">
61
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
66
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
82
<!-- ======== START OF CLASS DATA ======== -->
85
org.jgraph.util</FONT>
89
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
90
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.jgraph.util.RectUtils</B>
94
<DT>public class <B>RectUtils</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
100
<!-- ======== NESTED CLASS SUMMARY ======== -->
103
<!-- =========== FIELD SUMMARY =========== -->
106
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
<A NAME="constructor_summary"><!-- --></A>
109
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
110
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
111
<TD COLSPAN=2><FONT SIZE="+2">
112
<B>Constructor Summary</B></FONT></TD>
114
<TR BGCOLOR="white" CLASS="TableRowColor">
115
<TD><CODE><B><A HREF="../../../org/jgraph/util/RectUtils.html#RectUtils()">RectUtils</A></B>()</CODE>
118
</TD>
122
<!-- ========== METHOD SUMMARY =========== -->
124
<A NAME="method_summary"><!-- --></A>
125
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
127
<TD COLSPAN=2><FONT SIZE="+2">
128
<B>Method Summary</B></FONT></TD>
130
<TR BGCOLOR="white" CLASS="TableRowColor">
131
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132
<CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
133
<TD><CODE><B><A HREF="../../../org/jgraph/util/RectUtils.html#union(java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)">union</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> src1,
134
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> src2)</CODE>
137
Unions the pair of source <code>Rectangle2D</code> objects and puts the
138
result into the returned <code>Rectangle2D</code> object.</TD>
141
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
142
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
144
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
153
<!-- ============ FIELD DETAIL =========== -->
156
<!-- ========= CONSTRUCTOR DETAIL ======== -->
158
<A NAME="constructor_detail"><!-- --></A>
159
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161
<TD COLSPAN=1><FONT SIZE="+2">
162
<B>Constructor Detail</B></FONT></TD>
166
<A NAME="RectUtils()"><!-- --></A><H3>
169
public <B>RectUtils</B>()</PRE>
173
<!-- ============ METHOD DETAIL ========== -->
175
<A NAME="method_detail"><!-- --></A>
176
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
177
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
178
<TD COLSPAN=1><FONT SIZE="+2">
179
<B>Method Detail</B></FONT></TD>
183
<A NAME="union(java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>
186
public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> <B>union</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> src1,
187
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> src2)</PRE>
189
<DD>Unions the pair of source <code>Rectangle2D</code> objects and puts the
190
result into the returned <code>Rectangle2D</code> object. This method
191
extends the Rectangle2D version by checking for null parameters, the
192
returned value will also be <code>null</code> if the two input
193
rectangles are <code>null</code>
196
<DT><B>Parameters:</B><DD><CODE>src1</CODE> - the first of a pair of <code>Rectangle2D</code> objects to
197
be combined with each other<DD><CODE>src2</CODE> - the second of a pair of <code>Rectangle2D</code> objects to
198
be combined with each other</DL>
201
<!-- ========= END OF CLASS DATA ========= -->
205
<!-- ======= START OF BOTTOM NAVBAR ====== -->
206
<A NAME="navbar_bottom"><!-- --></A>
207
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
208
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
210
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
211
<A NAME="navbar_bottom_firstrow"><!-- --></A>
212
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
213
<TR ALIGN="center" VALIGN="top">
214
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
215
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
216
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
217
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RectUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
218
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
219
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
220
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
221
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
225
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
226
<p><b>JGraph</b><br>v5.12.0.4</p></EM>
231
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
232
<A HREF="../../../org/jgraph/util/ParallelEdgeRouter.html" title="class in org.jgraph.util"><B>PREV CLASS</B></A>
233
<A HREF="../../../org/jgraph/util/Spline.html" title="class in org.jgraph.util"><B>NEXT CLASS</B></A></FONT></TD>
234
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
235
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
236
<A HREF="RectUtils.html" target="_top"><B>NO FRAMES</B></A>
237
<SCRIPT type="text/javascript">
240
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
245
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
251
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
252
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
253
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
254
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
257
<A NAME="skip-navbar_bottom"></A>
258
<!-- ======== END OF BOTTOM NAVBAR ======= -->
261
<font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
262
target="_blank">Gaudenz Alder</a>. All rights reserved.</font>