⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qdrect.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the new height</DL></DD></DL><HR><A NAME="reshape(int, int, int, int)"><!-- --></A><H3>reshape</H3><PRE>public void <B>reshape</B>(int&nbsp;x,                    int&nbsp;y,                    int&nbsp;width,                    int&nbsp;height)</PRE><DL><DD>Reshapes the QDRect to x, y, width and height.<DD><DL></DL></DD></DL><HR><A NAME="reshape(float, float, float, float)"><!-- --></A><H3>reshape</H3><PRE>public void <B>reshape</B>(float&nbsp;x,                    float&nbsp;y,                    float&nbsp;width,                    float&nbsp;height)</PRE><DL><DD>Reshapes the QDRect to x, y, width and height.<DD><DL></DL></DD></DL><HR><A NAME="move(int, int)"><!-- --></A><H3>move</H3><PRE>public void <B>move</B>(int&nbsp;x,                 int&nbsp;y)</PRE><DL><DD>Moves the QDRect to x, y.<DD><DL></DL></DD></DL><HR><A NAME="move(float, float)"><!-- --></A><H3>move</H3><PRE>public void <B>move</B>(float&nbsp;x,                 float&nbsp;y)</PRE><DL><DD>Moves the QDRect to x, y.<DD><DL></DL></DD></DL><HR><A NAME="translate(int, int)"><!-- --></A><H3>translate</H3><PRE>public void <B>translate</B>(int&nbsp;deltaX,                      int&nbsp;deltaY)</PRE><DL><DD>Translates the QDRect 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&nbsp;deltaX,                      float&nbsp;deltaY)</PRE><DL><DD>Translates the QDRect deltaX and deltaY.<DD><DL></DL></DD></DL><HR><A NAME="resize(int, int)"><!-- --></A><H3>resize</H3><PRE>public void <B>resize</B>(int&nbsp;width,                   int&nbsp;height)</PRE><DL><DD>Resizes the QDRect.<DD><DL></DL></DD></DL><HR><A NAME="resize(float, float)"><!-- --></A><H3>resize</H3><PRE>public void <B>resize</B>(float&nbsp;width,                   float&nbsp;height)</PRE><DL><DD>Resizes the QDRect.<DD><DL></DL></DD></DL><HR><A NAME="inside(int, int)"><!-- --></A><H3>inside</H3><PRE>public boolean <B>inside</B>(int&nbsp;x,                      int&nbsp;y)</PRE><DL><DD>Checks if the specified point lies inside a QDRect.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate<DD><CODE>y</CODE> - the y coordinate</DL></DD></DL><HR><A NAME="inside(float, float)"><!-- --></A><H3>inside</H3><PRE>public boolean <B>inside</B>(float&nbsp;x,                      float&nbsp;y)</PRE><DL><DD>Checks if the specified point lies inside a QDRect.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate<DD><CODE>y</CODE> - the y coordinate</DL></DD></DL><HR><A NAME="intersects(quicktime.qd.QDRect)"><!-- --></A><H3>intersects</H3><PRE>public boolean <B>intersects</B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</PRE><DL><DD>Checks if two QDRects intersect.<DD><DL></DL></DD></DL><HR><A NAME="intersection(quicktime.qd.QDRect)"><!-- --></A><H3>intersection</H3><PRE>public <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> <B>intersection</B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</PRE><DL><DD>Computes the intersection of two QDRects, returning the  largets rect that encompasses both rects.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - the rect to intersect with<DT><B>Returns:</B><DD>a QDRect</DL></DD></DL><HR><A NAME="union(quicktime.qd.QDRect)"><!-- --></A><H3>union</H3><PRE>public <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> <B>union</B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</PRE><DL><DD>Computes the union of two QDRects, returning the smallest Rect that is the union of the two QDRects.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - the rect to unify with this<DT><B>Returns:</B><DD>a rect</DL></DD></DL><HR><A NAME="add(int, int)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(int&nbsp;newX,                int&nbsp;newY)</PRE><DL><DD>Adds a point to the QDRect. This results in the smallest QDRect that contains both the existing rectangle and the new point.<DD><DL></DL></DD></DL><HR><A NAME="add(float, float)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(float&nbsp;newX,                float&nbsp;newY)</PRE><DL><DD>Adds a point to the QDRect. This results in the smallest QDRect that contains both the existing rectangle and the new point.<DD><DL></DL></DD></DL><HR><A NAME="add(java.awt.Point)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(java.awt.Point&nbsp;pt)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>as of QTJava 4.0</I><P><DD>Adds a point to the QDRect. This results in the smallest QDRect that contains both the existing rectangle and the new point.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pt</CODE> - the Point to add<DT><B>See Also: </B><DD><A HREF="../../quicktime/qd/QDRect.html#add(quicktime.qd.QDPoint)"><CODE>add(QDPoint)</CODE></A></DL></DD></DL><HR><A NAME="add(quicktime.qd.QDPoint)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;pt)</PRE><DL><DD>Adds a QDPoint to the QDRect. This results in the smallest QDRect that contains both the existing rectangle and the new point.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pt</CODE> - the QDPoint to add</DL></DD></DL><HR><A NAME="grow(int, int)"><!-- --></A><H3>grow</H3><PRE>public void <B>grow</B>(int&nbsp;h,                 int&nbsp;v)</PRE><DL><DD>Grows the QDRect horizontally and vertically. This method modifies the QDRect so that it is  h units larger on both the left and right side,  and v units larger at both the top and bottom.<DD><DL></DL></DD></DL><HR><A NAME="grow(float, float)"><!-- --></A><H3>grow</H3><PRE>public void <B>grow</B>(float&nbsp;h,                 float&nbsp;v)</PRE><DL><DD>Grows the QDRect horizontally and vertically. This method modifies the QDRect so that it is  h units larger on both the left and right side,  and v units larger at both the top and bottom.<DD><DL></DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Determines whether the QDRect is empty.<DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns the hashcode for this Rectangle.<DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Checks whether two QDRects are equal.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTByteObject.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A></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 QDRect's values.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTByteObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A></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 QDRect<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDRect</DL></DD></DL><HR><A NAME="copy()"><!-- --></A><H3>copy</H3><PRE>public <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> <B>copy</B>()</PRE><DL><DD>Returns a copy of the QDRect with the correct return type.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDRect</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/QDRect.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../quicktime/qd/QDPoint.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../quicktime/qd/Region.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>  &nbsp;&nbsp;<A HREF="QDRect.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -