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

📄 spriteworld.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="SpriteWorld(quicktime.qd.QDGraphics, quicktime.qd.QDGraphics, quicktime.qd.QDColor, quicktime.qd.QDGraphics)"><!-- --></A><H3>SpriteWorld</H3><PRE>public <B>SpriteWorld</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;port,                   <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;spriteLayer,                   <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backgroundColor,                   <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;background)            throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This constructor creates a new sprite world.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.9.htm#12340">QuickTime::NewSpriteWorld()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>port</CODE> - the target destination of the SpriteWorld. This may NOT be null.<DD><CODE>spriteLayer</CODE> - Specifies the mSpriteGWorld QDGraphics.<DD><CODE>backgroundColor</CODE> - Specifies the background color.<DD><CODE>background</CODE> - Specifies the background QDGraphics that can be used for better performance when you have background sprites</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="setBounds(quicktime.qd.QDRect)"><!-- --></A><H3>setBounds</H3><PRE>public final void <B>setBounds</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;bounds)                     throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the bounds of the SpriteWorld by scaling its matrix.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the new size of the SpriteWorld</DL></DD></DL><HR><A NAME="getBounds()"><!-- --></A><H3>getBounds</H3><PRE>public final <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getBounds</B>()                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the current bounds of the SpriteWorld.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the bounds of the SpriteWorld</DL></DD></DL><HR><A NAME="setClip(quicktime.qd.Region)"><!-- --></A><H3>setClip</H3><PRE>public final void <B>setClip</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;clipRgn)                   throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method sets the sprite world's clip.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.9.htm#35433">QuickTime::SetSpriteWorldClip()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clipRgn</CODE> - Specifies the clipping region.</DL></DD></DL><HR><A NAME="setGraphicsMode(quicktime.std.image.GraphicsMode)"><!-- --></A><H3>setGraphicsMode</H3><PRE>public final void <B>setGraphicsMode</B>(<A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A>&nbsp;gMode)                           throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method sets the Graphic's mode of the SpriteWorld.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=17267">QuickTime::SetSpriteWorldGraphicsMode()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gMode</CODE> - the new graphic's mode for the SpriteWorld</DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE>public final <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>()</PRE><DL><DD>Returns the current transformational matrix used by the sprite world<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current matrix.</DL></DD></DL><HR><A NAME="setMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public final void <B>setMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix)                     throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method sets the sprite world's matrix.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.9.htm#12001">QuickTime::SetSpriteWorldMatrix()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>matrix</CODE> - Specifies the Matrix.</DL></DD></DL><HR><A NAME="idle(int)"><!-- --></A><H3>idle</H3><PRE>public final int <B>idle</B>(int&nbsp;flagsIn)               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows the sprite world to update and redraw the invalid portions of the sprite world.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.9.htm#38922">QuickTime::SpriteWorldIdle()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flagsIn</CODE> - Contains flags describing what type of actions may take place during the idle,  such as if drawing to the final destination should be pressed.<DT><B>Returns:</B><DD>Flags describing what type of actions took place during the idle, such as if any drawing took place.</DL></DD></DL><HR><A NAME="invalidate(quicktime.qd.QDRect)"><!-- --></A><H3>invalidate</H3><PRE>public final void <B>invalidate</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;invalidArea)                      throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows a rectangular area of the sprite world to be invalidated,  which will force it to redraw the next time SpriteWorldIdle is called.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.9.htm#24934">QuickTime::InvalidateSpriteWorld()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invalidArea</CODE> - A Rectangle which describes the invalid rectangle in sprite world source space.</DL></DD></DL><HR><A NAME="hitTest(int, quicktime.qd.QDPoint)"><!-- --></A><H3>hitTest</H3><PRE>public final <A HREF="../../../quicktime/std/anim/Sprite.html">Sprite</A> <B>hitTest</B>(int&nbsp;flags,                            <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;loc)                     throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method is used to determine if a sprite exists at a certain location.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.9.htm#23769">QuickTime::SpriteWorldHitTest()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - This allows the hit testing operation to be controlled more precisely.<DD><CODE>loc</CODE> - The point that you wish to test.<DT><B>Returns:</B><DD>the Sprite object which received the hit, or null if no sprite at that location.</DL></DD></DL><HR><A NAME="setFlags(int, int)"><!-- --></A><H3>setFlags</H3><PRE>public final void <B>setFlags</B>(int&nbsp;flags,                           int&nbsp;flagsMask)                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the flags for the sprite world.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=17265">QuickTime::SetSpriteWorldFlags()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the value you wish to set the property to<DD><CODE>flagMask</CODE> - the property that you want to effect</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/SpriteWorld.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/std/anim/Sprite.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SpriteWorld.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;FIELD&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;FIELD&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 + -