arc2d.double.html
来自「API資料大全」· HTML 代码 · 共 729 行 · 第 1/3 页
HTML
729 行
<BR> Returns the height of the ellipse of which this arc is a partial section</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/Arc2D.Double.html#getWidth()">getWidth</A></B>()</CODE><BR> Returns the width of the ellipse of which this arc is a partial section</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/Arc2D.Double.html#getX()">getX</A></B>()</CODE><BR> Returns the x coordinate of the upper left corner of the arc.</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/Arc2D.Double.html#getY()">getY</A></B>()</CODE><BR> Returns the y coordinate of the upper left corner of the arc.</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/Arc2D.Double.html#isEmpty()">isEmpty</A></B>()</CODE><BR> Determines whether the arc is empty.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Double.html#makeBounds(double, double, double, double)">makeBounds</A></B>(double x, double y, double w, double h)</CODE><BR> Returns the high-precision bounding box of the arc.</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/Arc2D.Double.html#setAngleExtent(double)">setAngleExtent</A></B>(double angExt)</CODE><BR> Sets the angular extent of this arc to the specified double value.</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/Arc2D.Double.html#setAngleStart(double)">setAngleStart</A></B>(double angSt)</CODE><BR> Sets the starting angle of this arc to the specified double value.</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/Arc2D.Double.html#setArc(double, double, double, double, double, double, int)">setArc</A></B>(double x, double y, double w, double h, double angSt, double angExt, int closure)</CODE><BR> Sets the location, size, angular extents, and closure type of this arc to the specified double values.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.geom.Arc2D"><!-- --></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/Arc2D.html">Arc2D</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/geom/Arc2D.html#contains(double, double)">contains</A>, <A HREF="../../../java/awt/geom/Arc2D.html#contains(double, double, double, double)">contains</A>, <A HREF="../../../java/awt/geom/Arc2D.html#contains(java.awt.geom.Rectangle2D)">contains</A>, <A HREF="../../../java/awt/geom/Arc2D.html#containsAngle(double)">containsAngle</A>, <A HREF="../../../java/awt/geom/Arc2D.html#getArcType()">getArcType</A>, <A HREF="../../../java/awt/geom/Arc2D.html#getBounds2D()">getBounds2D</A>, <A HREF="../../../java/awt/geom/Arc2D.html#getEndPoint()">getEndPoint</A>, <A HREF="../../../java/awt/geom/Arc2D.html#getPathIterator(java.awt.geom.AffineTransform)">getPathIterator</A>, <A HREF="../../../java/awt/geom/Arc2D.html#getStartPoint()">getStartPoint</A>, <A HREF="../../../java/awt/geom/Arc2D.html#intersects(double, double, double, double)">intersects</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setAngles(double, double, double, double)">setAngles</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setAngles(java.awt.geom.Point2D, java.awt.geom.Point2D)">setAngles</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setAngleStart(java.awt.geom.Point2D)">setAngleStart</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setArc(java.awt.geom.Arc2D)">setArc</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setArc(java.awt.geom.Point2D, java.awt.geom.Dimension2D, double, double, int)">setArc</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setArc(java.awt.geom.Rectangle2D, double, double, int)">setArc</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setArcByCenter(double, double, double, double, double, int)">setArcByCenter</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setArcByTangent(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D, double)">setArcByTangent</A>, <A HREF="../../../java/awt/geom/Arc2D.html#setArcType(int)">setArcType</A>, <A HREF="../../../java/awt/geom/Arc2D.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#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 the upper left corner of the arc.</DL><HR><A NAME="y"><!-- --></A><H3>y</H3><PRE>public double <B>y</B></PRE><DL><DD>The y coordinate of the upper left corner of the arc.</DL><HR><A NAME="width"><!-- --></A><H3>width</H3><PRE>public double <B>width</B></PRE><DL><DD>The overall width of the full ellipse (not considering the angular extents).</DL><HR><A NAME="height"><!-- --></A><H3>height</H3><PRE>public double <B>height</B></PRE><DL><DD>The overall height of the full ellipse (not considering the angular extents).</DL><HR><A NAME="start"><!-- --></A><H3>start</H3><PRE>public double <B>start</B></PRE><DL><DD>The starting angle of the arc in degrees.</DL><HR><A NAME="extent"><!-- --></A><H3>extent</H3><PRE>public double <B>extent</B></PRE><DL><DD>The angular extent of the arc in degrees.</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="Arc2D.Double()"><!-- --></A><H3>Arc2D.Double</H3><PRE>public <B>Arc2D.Double</B>()</PRE><DL><DD>Constructs a new OPEN arc, initialized to location (0, 0), size (0, 0), angular extents (start = 0, extent = 0).</DL><HR><A NAME="Arc2D.Double(int)"><!-- --></A><H3>Arc2D.Double</H3><PRE>public <B>Arc2D.Double</B>(int type)</PRE><DL><DD>Constructs a new arc, initialized to location (0, 0), size (0, 0), angular extents (start = 0, extent = 0), and the specified closure type.<DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The closure type for the arc: <A HREF="../../../java/awt/geom/Arc2D.html#OPEN"><CODE>OPEN</CODE></A>, <A HREF="../../../java/awt/geom/Arc2D.html#CHORD"><CODE>CHORD</CODE></A>, or <A HREF="../../../java/awt/geom/Arc2D.html#PIE"><CODE>PIE</CODE></A>.</DL></DD></DL><HR><A NAME="Arc2D.Double(double, double, double, double, double, double, int)"><!-- --></A><H3>Arc2D.Double</H3><PRE>public <B>Arc2D.Double</B>(double x, double y, double w, double h, double start, double extent, int type)</PRE><DL><DD>Constructs a new arc, initialized to the specified location, size, angular extents, and closure type.<DD><DL><DT><B>Parameters:</B><DD><CODE>x, y</CODE> - The coordinates of the upper left corner of the arc. (Specified in double precision.)<DD><CODE>w</CODE> - The overall width of the full ellipse of which this arc is a partial section. (Specified in double precision.)<DD><CODE>h</CODE> - The overall height of the full ellipse of which this arc is a partial section. (Specified in double precision.)<DD><CODE>angSt</CODE> - The starting angle of the arc in degrees. (Specified in double precision.)<DD><CODE>angExt</CODE> - The angular extent of the arc in degrees. (Specified in double precision.)<DD><CODE>closure</CODE> - The closure type for the arc: <A HREF="../../../java/awt/geom/Arc2D.html#OPEN"><CODE>OPEN</CODE></A>, <A HREF="../../../java/awt/geom/Arc2D.html#CHORD"><CODE>CHORD</CODE></A>, or <A HREF="../../../java/awt/geom/Arc2D.html#PIE"><CODE>PIE</CODE></A>.</DL></DD></DL><HR><A NAME="Arc2D.Double(java.awt.geom.Rectangle2D, double, double, int)"><!-- --></A><H3>Arc2D.Double</H3><PRE>public <B>Arc2D.Double</B>(<A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> ellipseBounds, double start, double extent, int type)</PRE><DL><DD>Constructs a new arc, initialized to the specified location, size, angular extents, and closure type.<DD><DL><DT><B>Parameters:</B><DD><CODE>ellipseBounds</CODE> - The bounding rectangle that defines the outer boundary of the full ellipse of which this arc is a partial section.<DD><CODE>angSt</CODE> - The starting angle of the arc in degrees. (Specified in double precision.)<DD><CODE>angExt</CODE> - The angular extent of the arc in degrees. (Specified in double precision.)<DD><CODE>closure</CODE> - The closure type for the arc:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?