point2d.html
来自「API資料大全」· HTML 代码 · 共 1,121 行 · 第 1/5 页
HTML
1,121 行
<TD><CODE><B>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#ptSegDist(java.awt.geom.Point2D)">ptSegDist</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Returns 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><TD><CODE><B>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#ptLineDistSq(java.awt.geom.Point2D)">ptLineDistSq</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Returns the square of the distance from a specified <code>Point2D</code> to this line.</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#ptLineDist(java.awt.geom.Point2D)">ptLineDist</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> pt)</CODE><BR> Returns the distance from a <code>Point2D</code> to this line.</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>Line2D.</B><B><A HREF="../../../../java/awt/geom/Line2D.html#contains(java.awt.geom.Point2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Tests if a given <code>Point2D</code> is inside the boundary of this <code>Line2D</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>Arc2D.</B><B><A HREF="../../../../java/awt/geom/Arc2D.html#setArc(java.awt.geom.Point2D, java.awt.geom.Dimension2D, double, double, int)">setArc</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> loc, <A HREF="../../../../java/awt/geom/Dimension2D.html">Dimension2D</A> size, double angSt, double angExt, int closure)</CODE><BR> Sets the location, size, angular extents, and closure type of this arc to the specified values.</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>Arc2D.</B><B><A HREF="../../../../java/awt/geom/Arc2D.html#setArcByTangent(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D, double)">setArcByTangent</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p3, double radius)</CODE><BR> Sets the position, bounds, and angular extents of this arc to the specified 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>Arc2D.</B><B><A HREF="../../../../java/awt/geom/Arc2D.html#setAngleStart(java.awt.geom.Point2D)">setAngleStart</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Sets the starting angle of this arc to the angle that the specified point defines relative to the center of this 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>Arc2D.</B><B><A HREF="../../../../java/awt/geom/Arc2D.html#setAngles(java.awt.geom.Point2D, java.awt.geom.Point2D)">setAngles</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 starting angle and angular extent of this arc using two points.</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>GeneralPath.</B><B><A HREF="../../../../java/awt/geom/GeneralPath.html#contains(java.awt.geom.Point2D)">contains</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p)</CODE><BR> Tests if the specified <code>Point2D</code> is inside the boundary of this <code>Shape</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>QuadCurve2D.</B><B><A HREF="../../../../java/awt/geom/QuadCurve2D.html#setCurve(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D)">setCurve</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> cp, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2)</CODE><BR> Sets the location of the endpoints and controlpoint of this <code>QuadCurve2D</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> void</CODE></FONT></TD><TD><CODE><B>QuadCurve2D.</B><B><A HREF="../../../../java/awt/geom/QuadCurve2D.html#setCurve(java.awt.geom.Point2D[], int)">setCurve</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A>[] pts, int offset)</CODE><BR> Sets the location of the endpoints and controlpoints of this <code>QuadCurve2D</code> to the coordinates of the <code>Point2D</code> objects at the specified offset in the specified array.</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>QuadCurve2D.</B><B><A HREF="../../../../java/awt/geom/QuadCurve2D.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 shape of this <code>QuadCurve2D</code>.</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>AffineTransform.</B><B><A HREF="../../../../java/awt/geom/AffineTransform.html#transform(java.awt.geom.Point2D, java.awt.geom.Point2D)">transform</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> ptSrc, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> ptDst)</CODE><BR> Transforms the specified <code>ptSrc</code> and stores the result in <code>ptDst</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>AffineTransform.</B><B><A HREF="../../../../java/awt/geom/AffineTransform.html#transform(java.awt.geom.Point2D[], int, java.awt.geom.Point2D[], int, int)">transform</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A>[] ptSrc, int srcOff, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A>[] ptDst, int dstOff, int numPts)</CODE><BR> Transforms an array of point objects by this transform.</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>AffineTransform.</B><B><A HREF="../../../../java/awt/geom/AffineTransform.html#inverseTransform(java.awt.geom.Point2D, java.awt.geom.Point2D)">inverseTransform</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> ptSrc, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> ptDst)</CODE><BR> Inverse transforms the specified <code>ptSrc</code> and stores the result in <code>ptDst</code>.</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>AffineTransform.</B><B><A HREF="../../../../java/awt/geom/AffineTransform.html#deltaTransform(java.awt.geom.Point2D, java.awt.geom.Point2D)">deltaTransform</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> ptSrc, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> ptDst)</CODE><BR> Transforms the relative distance vector specified by <code>ptSrc</code> and stores the result in <code>ptDst</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>CubicCurve2D.</B><B><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></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> cp1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> cp2, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2)</CODE><BR> Sets the location of the endpoints and controlpoints of this curve 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> void</CODE></FONT></TD><TD><CODE><B>CubicCurve2D.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.html#setCurve(java.awt.geom.Point2D[], int)">setCurve</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A>[] pts, int offset)</CODE><BR> Sets the location of the endpoints and controlpoints of this curve to the coordinates of the <code>Point2D</code> objects at the specified offset in the specified array.</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>CubicCurve2D.</B><B><A HREF="../../../../java/awt/geom/CubicCurve2D.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 shape.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors 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><CODE><B><A HREF="../../../../java/awt/geom/Line2D.Float.html#Line2D.Float(java.awt.geom.Point2D, java.awt.geom.Point2D)">Line2D.Float</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2)</CODE><BR> Constructs and initializes a <code>Line2D</code> from the specified <A HREF="../../../../java/awt/geom/Point2D.html"><CODE>Point2D</CODE></A> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../java/awt/geom/Line2D.Double.html#Line2D.Double(java.awt.geom.Point2D, java.awt.geom.Point2D)">Line2D.Double</A></B>(<A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p1, <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> p2)</CODE><BR> Constructs and initializes a <code>Line2D</code> from the specified <code>Point2D</code> objects.</TD></TR></TABLE> <P><A NAME="java.awt.image"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../java/awt/geom/Point2D.html">Point2D</A> in <A HREF="../../../../java/awt/image/package-summary.html">java.awt.image</A></FONT></TD></TR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?