point2d.html
来自「API資料大全」· HTML 代码 · 共 1,121 行 · 第 1/5 页
HTML
1,121 行
<BR> Returns the start point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.html#getCtrlP1()">getCtrlP1</A></B>()</CODE><BR> Returns the first control point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.html#getCtrlP2()">getCtrlP2</A></B>()</CODE><BR> Returns the second control point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.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> <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.Float.</B><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>CubicCurve2D.Float.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Float.html#getCtrlP1()">getCtrlP1</A></B>()</CODE><BR> Returns the first control 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>CubicCurve2D.Float.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Float.html#getCtrlP2()">getCtrlP2</A></B>()</CODE><BR> Returns the second control 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>CubicCurve2D.Float.</B><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> <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B>CubicCurve2D.Double.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Double.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>CubicCurve2D.Double.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Double.html#getCtrlP1()">getCtrlP1</A></B>()</CODE><BR> Returns the first control 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>CubicCurve2D.Double.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Double.html#getCtrlP2()">getCtrlP2</A></B>()</CODE><BR> Returns the second control 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>CubicCurve2D.Double.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.Double.html#getP2()">getP2</A></B>()</CODE><BR> Returns the end point.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../java/awt/geom/package-summary.html">java.awt.geom</A> with parameters of type <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A></FONT></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>Point2D.</B><B><A HREF="../../../../java/awt/geom/Point2D.html#setLocation(java.awt.geom.Point2D)">setLocation</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Sets the location of this <code>Point2D</code> to the same coordinates as the specified <code>Point2D</code> object.</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>Point2D.</B><B><A HREF="../../../../java/awt/geom/Point2D.html#distanceSq(java.awt.geom.Point2D)">distanceSq</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Returns the square of the distance from this <code>Point2D</code> to a specified <code>Point2D</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>Point2D.</B><B><A HREF="../../../../java/awt/geom/Point2D.html#distance(java.awt.geom.Point2D)">distance</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Returns the distance from this <code>Point2D</code> to a specified <code>Point2D</code>.</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>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#setFrame(java.awt.geom.Point2D, java.awt.geom.Dimension2D)">setFrame</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> loc, <A HREF="../../../../java/awt/geom/Dimension2D.html">Dimension2D</A> size)</CODE><BR> Sets the location and size of the framing rectangle of this <code>Shape</code> to the specified <A HREF="../../../../java/awt/geom/Point2D.html"><CODE>Point2D</CODE></A> and <A HREF="../../../../java/awt/geom/Dimension2D.html"><CODE>Dimension2D</CODE></A>, respectively.</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>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#setFrameFromDiagonal(java.awt.geom.Point2D, java.awt.geom.Point2D)">setFrameFromDiagonal</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2)</CODE><BR> Sets the diagonal of the framing rectangle of this <code>Shape</code> based on two specified <code>Point2D</code> objects.</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>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#setFrameFromCenter(java.awt.geom.Point2D, java.awt.geom.Point2D)">setFrameFromCenter</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> center, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> corner)</CODE><BR> Sets the framing rectangle of this <code>Shape</code> based on a specified center <code>Point2D</code> and corner <code>Point2D</code>.</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>RectangularShape.</B><B><A HREF="../../../../java/awt/geom/RectangularShape.html#contains(java.awt.geom.Point2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Tests if a specified <code>Point2D</code> is inside the boundary of the <code>Shape</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#outcode(java.awt.geom.Point2D)">outcode</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Determines where the specified <A HREF="../../../../java/awt/geom/Point2D.html"><CODE>Point2D</CODE></A> lies with respect to this <code>Rectangle2D</code>.</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>Rectangle2D.</B><B><A HREF="../../../../java/awt/geom/Rectangle2D.html#add(java.awt.geom.Point2D)">add</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Adds the <code>Point2D</code> object <code>pt</code> to this <code>Rectangle2D</code>.</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>Area.</B><B><A HREF="../../../../java/awt/geom/Area.html#contains(java.awt.geom.Point2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Tests if a specified <A HREF="../../../../java/awt/geom/Point2D.html"><CODE>Point2D</CODE></A> lies inside the boundary of the this <code>Area</code> object.</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>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#setLine(java.awt.geom.Point2D, java.awt.geom.Point2D)">setLine</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2)</CODE><BR> Sets the location of the endpoints of this <code>Line2D</code> to the specified <code>Point2D</code> coordinates.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#relativeCCW(java.awt.geom.Point2D)">relativeCCW</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Returns an indicator of where the specified <code>Point2D</code> lies with respect to this line segment.</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>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#ptSegDistSq(java.awt.geom.Point2D)">ptSegDistSq</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Returns the square of the distance from a <code>Point2D</code> to this line segment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?