roundrectangle2d.double.html
来自「API資料大全」· HTML 代码 · 共 634 行 · 第 1/3 页
HTML
634 行
<CODE> <A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#getBounds2D()">getBounds2D</A></B>()</CODE><BR> Returns the high precision bounding box of this <code>RoundRectangle2D</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#getHeight()">getHeight</A></B>()</CODE><BR> Returns the height of this <code>RoundRectangle2D</code> in <code>double</code> precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#getWidth()">getWidth</A></B>()</CODE><BR> Returns the width of this <code>RoundRectangle2D</code> in <code>double</code> precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#getX()">getX</A></B>()</CODE><BR> Returns the X coordinate of this <code>RoundRectangle2D</code> in <code>double</code> precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#getY()">getY</A></B>()</CODE><BR> Returns the Y coordinate of this <code>RoundRectangle2D</code> in <code>double</code> precision.</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><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#isEmpty()">isEmpty</A></B>()</CODE><BR> Determines whether or not this <code>RoundRectangle2D</code> is empty.</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><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#setRoundRect(double, double, double, double, double, double)">setRoundRect</A></B>(double x, double y, double w, double h, double arcw, double arch)</CODE><BR> Sets the location, size, and arc radii of this <code>RoundRectangle2D</code> to the specified <code>double</code> values.</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><A HREF="../../../java/awt/geom/RoundRectangle2D.Double.html#setRoundRect(java.awt.geom.RoundRectangle2D)">setRoundRect</A></B>(<A HREF="../../../java/awt/geom/RoundRectangle2D.html">RoundRectangle2D</A> rr)</CODE><BR> Sets this <code>RoundRectangle2D</code> to be the same as the specified <code>RoundRectangle2D</code>.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.geom.RoundRectangle2D"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.geom.<A HREF="../../../java/awt/geom/RoundRectangle2D.html">RoundRectangle2D</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/geom/RoundRectangle2D.html#contains(double, double)">contains</A>, <A HREF="../../../java/awt/geom/RoundRectangle2D.html#contains(double, double, double, double)">contains</A>, <A HREF="../../../java/awt/geom/RoundRectangle2D.html#getPathIterator(java.awt.geom.AffineTransform)">getPathIterator</A>, <A HREF="../../../java/awt/geom/RoundRectangle2D.html#intersects(double, double, double, double)">intersects</A>, <A HREF="../../../java/awt/geom/RoundRectangle2D.html#setFrame(double, double, double, double)">setFrame</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.geom.RectangularShape"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.geom.<A HREF="../../../java/awt/geom/RectangularShape.html">RectangularShape</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/geom/RectangularShape.html#clone()">clone</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#contains(java.awt.geom.Point2D)">contains</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#contains(java.awt.geom.Rectangle2D)">contains</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getBounds()">getBounds</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getCenterX()">getCenterX</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getCenterY()">getCenterY</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getFrame()">getFrame</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getMaxX()">getMaxX</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getMaxY()">getMaxY</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getMinX()">getMinX</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getMinY()">getMinY</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#getPathIterator(java.awt.geom.AffineTransform, double)">getPathIterator</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#intersects(java.awt.geom.Rectangle2D)">intersects</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#setFrame(java.awt.geom.Point2D, java.awt.geom.Dimension2D)">setFrame</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#setFrame(java.awt.geom.Rectangle2D)">setFrame</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#setFrameFromCenter(double, double, double, double)">setFrameFromCenter</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#setFrameFromCenter(java.awt.geom.Point2D, java.awt.geom.Point2D)">setFrameFromCenter</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#setFrameFromDiagonal(double, double, double, double)">setFrameFromDiagonal</A>, <A HREF="../../../java/awt/geom/RectangularShape.html#setFrameFromDiagonal(java.awt.geom.Point2D, java.awt.geom.Point2D)">setFrameFromDiagonal</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="x"><!-- --></A><H3>x</H3><PRE>public double <B>x</B></PRE><DL><DD>The X coordinate of this <code>RoundRectangle2D</code>.</DL><HR><A NAME="y"><!-- --></A><H3>y</H3><PRE>public double <B>y</B></PRE><DL><DD>The Y coordinate of this <code>RoundRectangle2D</code>.</DL><HR><A NAME="width"><!-- --></A><H3>width</H3><PRE>public double <B>width</B></PRE><DL><DD>The width of this <code>RoundRectangle2D</code>.</DL><HR><A NAME="height"><!-- --></A><H3>height</H3><PRE>public double <B>height</B></PRE><DL><DD>The height of this <code>RoundRectangle2D</code>.</DL><HR><A NAME="arcwidth"><!-- --></A><H3>arcwidth</H3><PRE>public double <B>arcwidth</B></PRE><DL><DD>The width of the arc that rounds off the corners.</DL><HR><A NAME="archeight"><!-- --></A><H3>archeight</H3><PRE>public double <B>archeight</B></PRE><DL><DD>The height of the arc that rounds off the corners.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="RoundRectangle2D.Double()"><!-- --></A><H3>RoundRectangle2D.Double</H3><PRE>public <B>RoundRectangle2D.Double</B>()</PRE><DL><DD>Constructs a new <code>RoundRectangle2D</code>, initialized to location (0.0, 0), size (0.0, 0.0), and corner arcs of radius 0.0.</DL><HR><A NAME="RoundRectangle2D.Double(double, double, double, double, double, double)"><!-- --></A><H3>RoundRectangle2D.Double</H3><PRE>public <B>RoundRectangle2D.Double</B>(double x, double y, double w, double h, double arcw, double arch)</PRE><DL><DD>Constructs and initializes a <code>RoundRectangle2D</code> from the specified coordinates.<DD><DL><DT><B>Parameters:</B><DD><CODE>x, </CODE> - the coordinates to which to set the newly constructed <code>RoundRectangle2D</code><DD><CODE>w</CODE> - the width to which to set the newly constructed <code>RoundRectangle2D</code><DD><CODE>h</CODE> - the height to which to set the newly constructed <code>RoundRectangle2D</code><DD><CODE>arcw</CODE> - the width of the arc to use to round off the corners of the newly constructed <code>RoundRectangle2D</code><DD><CODE>arch</CODE> - the height of the arc to use to round off the corners of the newly constructed <code>RoundRectangle2D</code></DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?