rectangle2d.html
来自「API資料大全」· HTML 代码 · 共 1,085 行 · 第 1/5 页
HTML
1,085 行
<CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>QuadCurve2D.Float.</B><B><A HREF="../../../../java/awt/geom/QuadCurve2D.Float.html#getBounds2D()">getBounds2D</A></B>()</CODE><BR> Returns the bounding box of this <code>QuadCurve2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>QuadCurve2D.Double.</B><B><A HREF="../../../../java/awt/geom/QuadCurve2D.Double.html#getBounds2D()">getBounds2D</A></B>()</CODE><BR> Returns the bounding box of this <code>QuadCurve2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.Float.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Float.html#getBounds2D()">getBounds2D</A></B>()</CODE><BR> Returns the bounding box of the shape.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.Double.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Double.html#getBounds2D()">getBounds2D</A></B>()</CODE><BR> Returns the bounding box of the shape.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../java/awt/geom/package-summary.html">java.awt.geom</A> with parameters of type <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#setFrame(java.awt.geom.Rectangle2D)">setFrame</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Sets the framing rectangle of this <code>Shape</code> to be the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#intersects(java.awt.geom.Rectangle2D)">intersects</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Tests if the interior of the<code>Shape</code> intersects the interior of a specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#contains(java.awt.geom.Rectangle2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Tests if the interior of the <code>Shape</code> entirely contains the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#setRect(java.awt.geom.Rectangle2D)">setRect</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Sets this <code>Rectangle2D</code> to be the same as the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#createIntersection(java.awt.geom.Rectangle2D)">createIntersection</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Returns a new <code>Rectangle2D</code> object representing the intersection of this <code>Rectangle2D</code> with the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#intersect(java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)">intersect</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> src1, <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> src2, <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> dest)</CODE><BR> Intersects the pair of specified source <code>Rectangle2D</code> objects and puts the result into the specified destination <code>Rectangle2D</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#createUnion(java.awt.geom.Rectangle2D)">createUnion</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Returns a new <code>Rectangle2D</code> object representing the union of this <code>Rectangle2D</code> with the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#union(java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)">union</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> src1, <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> src2, <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> dest)</CODE><BR> Unions the pair of source <code>Rectangle2D</code> objects and puts the result into the specified destination <code>Rectangle2D</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#add(java.awt.geom.Rectangle2D)">add</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Adds a <code>Rectangle2D</code> object to this <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Area.</B><B><A HREF="../../../../java/awt/geom/Area.html#contains(java.awt.geom.Rectangle2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> p)</CODE><BR> Tests whether or not the interior of this <code>Area</code> object completely contains the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Area.</B><B><A HREF="../../../../java/awt/geom/Area.html#intersects(java.awt.geom.Rectangle2D)">intersects</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> p)</CODE><BR> Tests whether the interior of this <code>Area</code> object intersects the interior of the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Rectangle2D.Float.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.Float.html#setRect(java.awt.geom.Rectangle2D)">setRect</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Sets this <code>Rectangle2D</code> to be the same as the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>Rectangle2D.Float.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.Float.html#createIntersection(java.awt.geom.Rectangle2D)">createIntersection</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Returns a new <code>Rectangle2D</code> object representing the intersection of this <code>Rectangle2D</code> with the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>Rectangle2D.Float.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.Float.html#createUnion(java.awt.geom.Rectangle2D)">createUnion</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Returns a new <code>Rectangle2D</code> object representing the union of this <code>Rectangle2D</code> with the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Rectangle2D.Double.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.Double.html#setRect(java.awt.geom.Rectangle2D)">setRect</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Sets this <code>Rectangle2D</code> to be the same as the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>Rectangle2D.Double.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.Double.html#createIntersection(java.awt.geom.Rectangle2D)">createIntersection</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Returns a new <code>Rectangle2D</code> object representing the intersection of this <code>Rectangle2D</code> with the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B>Rectangle2D.Double.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.Double.html#createUnion(java.awt.geom.Rectangle2D)">createUnion</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Returns a new <code>Rectangle2D</code> object representing the union of this <code>Rectangle2D</code> with the specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#intersects(java.awt.geom.Rectangle2D)">intersects</A></B>(<A HREF="../../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> r)</CODE><BR> Tests if this <code>Line2D</code> intersects the interior of a specified <code>Rectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#contains(java.awt.geom.Rectangle2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Rectangle
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?