📄 qdpoint.html
字号:
<DD>Returns a byte array that contains the packed value of a GXPoint<DD><DL></DL></DD></DL><HR><A NAME="getFixedPoint()"><!-- --></A><H3>getFixedPoint</H3><PRE>public byte[] <B>getFixedPoint</B>()</PRE><DL><DD>Returns a byte array that contains the packed value of a FixedPoint<DD><DL></DL></DD></DL><HR><A NAME="getQ3Point2D()"><!-- --></A><H3>getQ3Point2D</H3><PRE>public byte[] <B>getQ3Point2D</B>()</PRE><DL><DD>Returns a byte array that contains the packed value of a 3Point2D<DD><DL></DL></DD></DL><HR><A NAME="getQTVRFloatPoint()"><!-- --></A><H3>getQTVRFloatPoint</H3><PRE>public byte[] <B>getQTVRFloatPoint</B>()</PRE><DL><DD>Returns a byte array that contains the packed value of a QTVRFloatPoint<DD><DL></DL></DD></DL><HR><A NAME="getX()"><!-- --></A><H3>getX</H3><PRE>public int <B>getX</B>()</PRE><DL><DD>Get the x location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current x location</DL></DD></DL><HR><A NAME="getXF()"><!-- --></A><H3>getXF</H3><PRE>public float <B>getXF</B>()</PRE><DL><DD>Get the x location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current x location</DL></DD></DL><HR><A NAME="setX(int)"><!-- --></A><H3>setX</H3><PRE>public void <B>setX</B>(int x)</PRE><DL><DD>Set the x location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the new x location</DL></DD></DL><HR><A NAME="setX(float)"><!-- --></A><H3>setX</H3><PRE>public void <B>setX</B>(float x)</PRE><DL><DD>Set the x location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the new x location</DL></DD></DL><HR><A NAME="getY()"><!-- --></A><H3>getY</H3><PRE>public int <B>getY</B>()</PRE><DL><DD>Get the y location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current y location</DL></DD></DL><HR><A NAME="getYF()"><!-- --></A><H3>getYF</H3><PRE>public float <B>getYF</B>()</PRE><DL><DD>Get the y location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current y location</DL></DD></DL><HR><A NAME="setY(int)"><!-- --></A><H3>setY</H3><PRE>public void <B>setY</B>(int y)</PRE><DL><DD>Set the y location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>y</CODE> - the new y location</DL></DD></DL><HR><A NAME="setY(float)"><!-- --></A><H3>setY</H3><PRE>public void <B>setY</B>(float y)</PRE><DL><DD>Set the y location of the point.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>y</CODE> - the new y location</DL></DD></DL><HR><A NAME="translate(int, int)"><!-- --></A><H3>translate</H3><PRE>public void <B>translate</B>(int deltaX, int deltaY)</PRE><DL><DD>Translates the point, by deltaX and deltaY.<DD><DL></DL></DD></DL><HR><A NAME="translate(float, float)"><!-- --></A><H3>translate</H3><PRE>public void <B>translate</B>(float deltaX, float deltaY)</PRE><DL><DD>Translates the point, by deltaX and deltaY.<DD><DL></DL></DD></DL><HR><A NAME="move(int, int)"><!-- --></A><H3>move</H3><PRE>public void <B>move</B>(int x, int y)</PRE><DL><DD>Moves the point, to coordinates x, y.<DD><DL></DL></DD></DL><HR><A NAME="move(float, float)"><!-- --></A><H3>move</H3><PRE>public void <B>move</B>(float x, float y)</PRE><DL><DD>Moves the point, to coordinates x, y.<DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Checks whether two int points are equal.<DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns the String representation of this QDPoint's coordinate.<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Return a copy of the QDPoint<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDPoint</DL></DD></DL><HR><A NAME="copy()"><!-- --></A><H3>copy</H3><PRE>public <A HREF="../../quicktime/qd/QDPoint.html">QDPoint</A> <B>copy</B>()</PRE><DL><DD>Returns a copy of the QDPoint with the correct return type.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDPoint</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QDPoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../quicktime/qd/QDGraphics.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/qd/QDRect.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="QDPoint.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -