quadcurve2d.float.html

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

HTML
674
字号
<TD><CODE><B><A HREF="../../../java/awt/geom/QuadCurve2D.Float.html#getCtrlY()">getCtrlY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y coordinate of the control point in  <code>double</code> precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/QuadCurve2D.Float.html#getP1()">getP1</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/QuadCurve2D.Float.html#getP2()">getP2</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the end point.</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/QuadCurve2D.Float.html#getX1()">getX1</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x coordinate of the start point in  <code>double</code> precision.</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/QuadCurve2D.Float.html#getX2()">getX2</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x coordinate of the end point in  <code>double</code> precision.</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/QuadCurve2D.Float.html#getY1()">getY1</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y coordinate of the start point in  <code>double</code> precision.</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/QuadCurve2D.Float.html#getY2()">getY2</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y coordinate of the end point in  <code>double</code> precision.</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/QuadCurve2D.Float.html#setCurve(double, double, double, double, double, double)">setCurve</A></B>(double&nbsp;x1,         double&nbsp;y1,         double&nbsp;ctrlx,         double&nbsp;ctrly,         double&nbsp;x2,         double&nbsp;y2)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the location of the endpoints and controlpoint of this  <code>QuadCurve2D</code> to the specified <code>double</code> coordinates.</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/QuadCurve2D.Float.html#setCurve(float, float, float, float, float, float)">setCurve</A></B>(float&nbsp;x1,         float&nbsp;y1,         float&nbsp;ctrlx,         float&nbsp;ctrly,         float&nbsp;x2,         float&nbsp;y2)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the location of the endpoints and controlpoint of this curve to the specified <code>float</code> coordinates.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.awt.geom.QuadCurve2D"><!-- --></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/QuadCurve2D.html">QuadCurve2D</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/geom/QuadCurve2D.html#clone()">clone</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#contains(double, double)">contains</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#contains(double, double, double, double)">contains</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#contains(java.awt.geom.Point2D)">contains</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#contains(java.awt.geom.Rectangle2D)">contains</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getBounds()">getBounds</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getFlatness()">getFlatness</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getFlatness(double[], int)">getFlatness</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getFlatness(double, double, double, double, double, double)">getFlatness</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getFlatnessSq()">getFlatnessSq</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getFlatnessSq(double[], int)">getFlatnessSq</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getFlatnessSq(double, double, double, double, double, double)">getFlatnessSq</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getPathIterator(java.awt.geom.AffineTransform)">getPathIterator</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#getPathIterator(java.awt.geom.AffineTransform, double)">getPathIterator</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#intersects(double, double, double, double)">intersects</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#intersects(java.awt.geom.Rectangle2D)">intersects</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#setCurve(double[], int)">setCurve</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#setCurve(java.awt.geom.Point2D[], int)">setCurve</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#setCurve(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D)">setCurve</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#setCurve(java.awt.geom.QuadCurve2D)">setCurve</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#solveQuadratic(double[])">solveQuadratic</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#solveQuadratic(double[], double[])">solveQuadratic</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#subdivide(double[], int, double[], int, double[], int)">subdivide</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#subdivide(java.awt.geom.QuadCurve2D, java.awt.geom.QuadCurve2D)">subdivide</A>, <A HREF="../../../java/awt/geom/QuadCurve2D.html#subdivide(java.awt.geom.QuadCurve2D, java.awt.geom.QuadCurve2D, java.awt.geom.QuadCurve2D)">subdivide</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="x1"><!-- --></A><H3>x1</H3><PRE>public float <B>x1</B></PRE><DL><DD>The x coordinate of the start point of the quadratic curve segment.</DL><HR><A NAME="y1"><!-- --></A><H3>y1</H3><PRE>public float <B>y1</B></PRE><DL><DD>The y coordinate of the start point of the quadratic curve segment.</DL><HR><A NAME="ctrlx"><!-- --></A><H3>ctrlx</H3><PRE>public float <B>ctrlx</B></PRE><DL><DD>The x coordinate of the control point of the quadratic curve segment.</DL><HR><A NAME="ctrly"><!-- --></A><H3>ctrly</H3><PRE>public float <B>ctrly</B></PRE><DL><DD>The y coordinate of the control point of the quadratic curve segment.</DL><HR><A NAME="x2"><!-- --></A><H3>x2</H3><PRE>public float <B>x2</B></PRE><DL><DD>The x coordinate of the end point of the quadratic curve segment.</DL><HR><A NAME="y2"><!-- --></A><H3>y2</H3><PRE>public float <B>y2</B></PRE><DL><DD>The y coordinate of the end point of the quadratic curve segment.</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="QuadCurve2D.Float()"><!-- --></A><H3>QuadCurve2D.Float</H3><PRE>public <B>QuadCurve2D.Float</B>()</PRE><DL><DD>Constructs and initializes a <code>QuadCurve2D</code> with coordinates (0, 0, 0, 0, 0, 0).</DL><HR><A NAME="QuadCurve2D.Float(float, float, float, float, float, float)"><!-- --></A><H3>QuadCurve2D.Float</H3><PRE>public <B>QuadCurve2D.Float</B>(float&nbsp;x1,                         float&nbsp;y1,                         float&nbsp;ctrlx,                         float&nbsp;ctrly,                         float&nbsp;x2,                         float&nbsp;y2)</PRE><DL><DD>Constructs and initializes a <code>QuadCurve2D</code> from the specified coordinates.<DD><DL><DT><B>Parameters:</B><DD><CODE>x1,&nbsp;y1</CODE> - the starting point coordinates<DD><CODE>ctrlx,&nbsp;ctrly</CODE> - the coordinates of the control point<DD><CODE>x2,&nbsp;y2</CODE> - the ending point coordinates</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></TR></TABLE><A NAME="getX1()"><!-- --></A><H3>getX1</H3><PRE>public double <B>getX1</B>()</PRE><DL><DD>Returns the x coordinate of the start point in  <code>double</code> precision.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/geom/QuadCurve2D.html#getX1()">getX1</A></CODE> in class <CODE><A HREF="../../../java/awt/geom/QuadCurve2D.html">QuadCurve2D</A></CODE></DL>

⌨️ 快捷键说明

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