📄 spritemediahandler.html
字号:
int layer)</CODE><BR> This method allows you to specify the layer property of a sprite.</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><A HREF="../../../../quicktime/std/movies/media/SpriteMediaHandler.html#setMatrix(int, quicktime.std.image.Matrix)">setMatrix</A></B>(int spriteID, <A HREF="../../../../quicktime/std/image/Matrix.html">Matrix</A> matrix)</CODE><BR> This method allows you to specify the Matrix property of a sprite.</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><A HREF="../../../../quicktime/std/movies/media/SpriteMediaHandler.html#setVisible(int, boolean)">setVisible</A></B>(int spriteID, boolean visible)</CODE><BR> This method allows you to specify the visibility property of a sprite.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/SpriteMediaHandler.html#spriteIDtoIndex(int)">spriteIDtoIndex</A></B>(int spriteID)</CODE><BR> Return the index of the sprite specified by spriteID.</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><A HREF="../../../../quicktime/std/movies/media/SpriteMediaHandler.html#spriteIndexToID(int)">spriteIndexToID</A></B>(int spriteIndex)</CODE><BR> Return the ID of the sprite specified by spriteIndex.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.movies.media.VisualMediaHandler"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.movies.media.<A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html">VisualMediaHandler</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#getPublicInfo(int)">getPublicInfo</A>, <A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#getTrackOpaque()">getTrackOpaque</A>, <A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#hitTestForTargetRefCon(int, quicktime.qd.QDPoint)">hitTestForTargetRefCon</A>, <A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#hitTestTargetRefCon(int, int, quicktime.qd.QDPoint)">hitTestTargetRefCon</A>, <A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A>, <A HREF="../../../../quicktime/std/movies/media/VisualMediaHandler.html#setPublicInfo(int, quicktime.util.QTPointer)">setPublicInfo</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="setMatrix(int, quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public void <B>setMatrix</B>(int spriteID, <A HREF="../../../../quicktime/std/image/Matrix.html">Matrix</A> matrix) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the Matrix property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#35843">QuickTime::SpriteMediaSetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DD><CODE>matrix</CODE> - Specifies the new matrix.</DL></DD></DL><HR><A NAME="setVisible(int, boolean)"><!-- --></A><H3>setVisible</H3><PRE>public void <B>setVisible</B>(int spriteID, boolean visible) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the visibility property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#35843">QuickTime::SpriteMediaSetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DD><CODE>visible</CODE> - Specifies the new visibility property.</DL></DD></DL><HR><A NAME="setLayer(int, int)"><!-- --></A><H3>setLayer</H3><PRE>public void <B>setLayer</B>(int spriteID, int layer) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the layer property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#35843">QuickTime::SpriteMediaSetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DD><CODE>layer</CODE> - Specifies the new layer property.</DL></DD></DL><HR><A NAME="setGraphicsMode(int, quicktime.std.image.GraphicsMode)"><!-- --></A><H3>setGraphicsMode</H3><PRE>public void <B>setGraphicsMode</B>(int spriteID, <A HREF="../../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> gMode) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the graphics mode property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#35843">QuickTime::SpriteMediaSetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DD><CODE>gMode</CODE> - Specifies the new graphics mode property.</DL></DD></DL><HR><A NAME="setImageIndex(int, int)"><!-- --></A><H3>setImageIndex</H3><PRE>public void <B>setImageIndex</B>(int spriteID, int index) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the image index property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#35843">QuickTime::SpriteMediaSetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DD><CODE>index</CODE> - Specifies the new image index property.</DL></DD></DL><HR><A NAME="getMatrix(int)"><!-- --></A><H3>getMatrix</H3><PRE>public <A HREF="../../../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>(int spriteID) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to get the matrix property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#28337">QuickTime::SpriteMediaGetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DT><B>Returns:</B><DD>the matrix property of the specified sprite.</DL></DD></DL><HR><A NAME="getVisible(int)"><!-- --></A><H3>getVisible</H3><PRE>public boolean <B>getVisible</B>(int spriteID) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to get the visibility property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#28337">QuickTime::SpriteMediaGetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DT><B>Returns:</B><DD>the visibility property of the specified sprite.</DL></DD></DL><HR><A NAME="getLayer(int)"><!-- --></A><H3>getLayer</H3><PRE>public int <B>getLayer</B>(int spriteID) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to get the layer property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#28337">QuickTime::SpriteMediaGetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DT><B>Returns:</B><DD>the layer property of the specified sprite.</DL></DD></DL><HR><A NAME="getGraphicsMode(int)"><!-- --></A><H3>getGraphicsMode</H3><PRE>public <A HREF="../../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> <B>getGraphicsMode</B>(int spriteID) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to get the graphics mode property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#28337">QuickTime::SpriteMediaGetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DT><B>Returns:</B><DD>the graphics mode property of the specified sprite.</DL></DD></DL><HR><A NAME="getImageIndex(int)"><!-- --></A><H3>getImageIndex</H3><PRE>public int <B>getImageIndex</B>(int spriteID) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to get the image index property of a sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#28337">QuickTime::SpriteMediaGetSpriteProperty()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DT><B>Returns:</B><DD>the image index property of the specified sprite.</DL></DD></DL><HR><A NAME="hitTestAllSprites(int, quicktime.qd.QDPoint)"><!-- --></A><H3>hitTestAllSprites</H3><PRE>public int <B>hitTestAllSprites</B>(int flags, <A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A> loc) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to receive the index of the sprite which contains a specified point. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#22047">QuickTime::SpriteMediaHitTestAllSprites()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - Controls the operation of this method.<DD><CODE>loc</CODE> - Specifies the point for hit test.<DT><B>Returns:</B><DD>the ID of the sprite which contains the point.</DL></DD></DL><HR><A NAME="hitTestOneSprite(int, int, quicktime.qd.QDPoint)"><!-- --></A><H3>hitTestOneSprite</H3><PRE>public boolean <B>hitTestOneSprite</B>(int spriteID, int flags, <A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A> loc) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Perform hit testing on the sprite specified by loc. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMHSpriteAPI.a.htm#39156">QuickTime::SpriteMediaHitTestOneSprite()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spriteID</CODE> - Specifies the sprite ID.<DD><CODE>flags</CODE> - specifies how to control the hit testing operation<DD><CODE>loc</CODE> - Specifies the point for hit test.<DT><B>Returns:</B><DD>true or false if the loc matches that of the sprite.</DL></DD></DL><HR><A NAME="countSprites()"><!-- --></A><H3>countSprites</H3><PRE>public int <B>countSprites</B>()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -