cubiccurve2d.float.html
来自「API資料大全」· HTML 代码 · 共 814 行 · 第 1/3 页
HTML
814 行
<BR> Returns the Y coordinate of the second control point in double precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/CubicCurve2D.Float.html#getP1()">getP1</A></B>()</CODE><BR> Returns the start point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/CubicCurve2D.Float.html#getP2()">getP2</A></B>()</CODE><BR> Returns the end point.</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/CubicCurve2D.Float.html#getX1()">getX1</A></B>()</CODE><BR> Returns the X coordinate of the start point in double 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/CubicCurve2D.Float.html#getX2()">getX2</A></B>()</CODE><BR> Returns the X coordinate of the end point in double 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/CubicCurve2D.Float.html#getY1()">getY1</A></B>()</CODE><BR> Returns the Y coordinate of the start point in double 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/CubicCurve2D.Float.html#getY2()">getY2</A></B>()</CODE><BR> Returns the Y coordinate of the end point in double precision.</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/CubicCurve2D.Float.html#setCurve(double, double, double, double, double, double, double, double)">setCurve</A></B>(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)</CODE><BR> Sets the location of the endpoints and controlpoints of this <code>CubicCurve2D</code> to the specified double coordinates.</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/CubicCurve2D.Float.html#setCurve(float, float, float, float, float, float, float, float)">setCurve</A></B>(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float y2)</CODE><BR> Sets the location of the endpoints and controlpoints of this curve to the specified float coordinates.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.geom.CubicCurve2D"><!-- --></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/CubicCurve2D.html">CubicCurve2D</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/geom/CubicCurve2D.html#clone()">clone</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#contains(double, double)">contains</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#contains(double, double, double, double)">contains</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#contains(java.awt.geom.Point2D)">contains</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#contains(java.awt.geom.Rectangle2D)">contains</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getBounds()">getBounds</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getFlatness()">getFlatness</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getFlatness(double[], int)">getFlatness</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getFlatness(double, double, double, double, double, double, double, double)">getFlatness</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getFlatnessSq()">getFlatnessSq</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getFlatnessSq(double[], int)">getFlatnessSq</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getFlatnessSq(double, double, double, double, double, double, double, double)">getFlatnessSq</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getPathIterator(java.awt.geom.AffineTransform)">getPathIterator</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#getPathIterator(java.awt.geom.AffineTransform, double)">getPathIterator</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#intersects(double, double, double, double)">intersects</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#intersects(java.awt.geom.Rectangle2D)">intersects</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#setCurve(java.awt.geom.CubicCurve2D)">setCurve</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#setCurve(double[], int)">setCurve</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#setCurve(java.awt.geom.Point2D[], int)">setCurve</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#setCurve(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D)">setCurve</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#solveCubic(double[])">solveCubic</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#solveCubic(double[], double[])">solveCubic</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#subdivide(java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D)">subdivide</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#subdivide(java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D)">subdivide</A>, <A HREF="../../../java/awt/geom/CubicCurve2D.html#subdivide(double[], int, double[], int, double[], int)">subdivide</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="x1"><!-- --></A><H3>x1</H3><PRE>public float <B>x1</B></PRE><DL><DD>The X coordinate of the start point of the cubic 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 cubic curve segment.</DL><HR><A NAME="ctrlx1"><!-- --></A><H3>ctrlx1</H3><PRE>public float <B>ctrlx1</B></PRE><DL><DD>The X coordinate of the first control point of the cubic curve segment.</DL><HR><A NAME="ctrly1"><!-- --></A><H3>ctrly1</H3><PRE>public float <B>ctrly1</B></PRE><DL><DD>The Y coordinate of the first control point of the cubic curve segment.</DL><HR><A NAME="ctrlx2"><!-- --></A><H3>ctrlx2</H3><PRE>public float <B>ctrlx2</B></PRE><DL><DD>The X coordinate of the second control point of the cubic curve segment.</DL><HR><A NAME="ctrly2"><!-- --></A><H3>ctrly2</H3><PRE>public float <B>ctrly2</B></PRE><DL><DD>The Y coordinate of the second control point of the cubic 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 cubic 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 cubic 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="CubicCurve2D.Float()"><!-- --></A><H3>CubicCurve2D.Float</H3><PRE>public <B>CubicCurve2D.Float</B>()</PRE><DL><DD>Constructs and initializes a CubicCurve with coordinates (0, 0, 0, 0, 0, 0).</DL><HR><A NAME="CubicCurve2D.Float(float, float, float, float, float, float, float, float)"><!-- --></A><H3>CubicCurve2D.Float</H3><PRE>public <B>CubicCurve2D.Float</B>(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float y2)</PRE><DL><DD>Constructs and initializes a <code>CubicCurve2D</code> from the specified coordinates.<DD><DL><DT><B>Parameters:</B><DD><CODE>x1, y1</CODE> - the first specified coordinates for the start point of the resulting <code>CubicCurve2D</code><DD><CODE>ctrlx1, ctrly1</CODE> - the second specified coordinates for the first control point of the resulting <code>CubicCurve2D</code><DD><CODE>ctrlx2, ctrly2</CODE> - the third specified coordinates for the second control point of the resulting <code>CubicCurve2D</code><DD><CODE>x2, y2</CODE> - the fourth specified coordinates for the end point of the resulting <code>CubicCurve2D</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></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 double precision.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/geom/CubicCurve2D.html#getX1()">getX1</A></CODE> in class <CODE><A HREF="../../../java/awt/geom/CubicCurve2D.html">CubicCurve2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the X coordinate of the start point of the <code>CubicCurve2D</code>.</DL></DD></DL><HR><A NAME="getY1()"><!-- --></A><H3>getY1</H3><PRE>public double <B>getY1</B>()</PRE><DL><DD>Returns the Y coordinate of the start point in double precision.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/geom/CubicCurve2D.html#getY1()">getY1</A></CODE> in class <CODE><A HREF="../../../java/awt/geom/CubicCurve2D.html">CubicCurve2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Y coordinate of the start point of the
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?