arc2d.float.html

来自「API資料大全」· HTML 代码 · 共 733 行 · 第 1/3 页

HTML
733
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#getWidth()">getWidth</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#getX()">getX</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#getY()">getY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#makeBounds(double, double, double, double)">makeBounds</A></B>(double&nbsp;x,           double&nbsp;y,           double&nbsp;w,           double&nbsp;h)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#setAngleExtent(double)">setAngleExtent</A></B>(double&nbsp;angExt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#setAngleStart(double)">setAngleStart</A></B>(double&nbsp;angSt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/Arc2D.Float.html#setArc(double, double, double, double, double, double, int)">setArc</A></B>(double&nbsp;x,       double&nbsp;y,       double&nbsp;w,       double&nbsp;h,       double&nbsp;angSt,       double&nbsp;angExt,       int&nbsp;closure)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the location, size, angular extents, and closure type of this arc to the specified double values.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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>&nbsp;<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>&nbsp;<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 float <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 float <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 float <B>width</B></PRE><DL><DD>The overall width of the full ellipse of which this arc is  a partial section (not considering the angular extents).</DL><HR><A NAME="height"><!-- --></A><H3>height</H3><PRE>public float <B>height</B></PRE><DL><DD>The overall height of the full ellipse of which this arc is  a partial section (not considering the angular extents).</DL><HR><A NAME="start"><!-- --></A><H3>start</H3><PRE>public float <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 float <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.Float()"><!-- --></A><H3>Arc2D.Float</H3><PRE>public <B>Arc2D.Float</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.Float(int)"><!-- --></A><H3>Arc2D.Float</H3><PRE>public <B>Arc2D.Float</B>(int&nbsp;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.Float(float, float, float, float, float, float, int)"><!-- --></A><H3>Arc2D.Float</H3><PRE>public <B>Arc2D.Float</B>(float&nbsp;x,                   float&nbsp;y,                   float&nbsp;w,                   float&nbsp;h,                   float&nbsp;start,                   float&nbsp;extent,                   int&nbsp;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,&nbsp;y</CODE> - The coordinates of the upper left corner of   the arc. (Specified in float precision.)<DD><CODE>w</CODE> - The overall width of the full ellipse of which   this arc is a partial section. (Specified in float precision.)<DD><CODE>h</CODE> - The overall height of the full ellipse of which this   arc is a partial section. (Specified in float precision.)<DD><CODE>start</CODE> - The starting angle of the arc in degrees.   (Specified in float precision.)<DD><CODE>extent</CODE> - The angular extent of the arc in degrees.   (Specified in float precision.)<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.Float(java.awt.geom.Rectangle2D, float, float, int)"><!-- --></A><H3>Arc2D.Float</H3><PRE>public <B>Arc2D.Float</B>(<A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A>&nbsp;ellipseBounds,                   float&nbsp;start,                   float&nbsp;extent,                   int&nbsp;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>start</CODE> - The starting angle of the arc in degrees.  (Specified in float precision.)<DD><CODE>extent</CODE> - The angular extent of the arc in degrees.  (Specified in float precision.)<DD><CODE>type</CODE> - The closure type for the arc: 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?