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

📄 swcompositor.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 QDGraphics or QDGraphics is about to go away (such as removing a SpriteWorld from a QTCanvas).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setAutoRedrawing(boolean)">setAutoRedrawing</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If a SWCompositor's time rate is equal to zero, changing a property of a member's sprite requires the SWCompositor to be redrawn to see this change.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setClip(quicktime.qd.Region)">setClip</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;clipRgn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets the sprite world's clip.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;bounds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QTCanvas calls this method when it needs to tell the client to adjust its location, width and/or height.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A></B>(<A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A>&nbsp;mode)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current graphics mode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;cgp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QTCanvas calls this method to give the client the QDGraphics object it should  use to do its drawing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setLocation(int, int)">setLocation</A></B>(int&nbsp;x,            int&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience method to set the position of a QTDrawable object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets the current matrix of the Transformable object to the new matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setRecordMovie(quicktime.app.RecordMovie)">setRecordMovie</A></B>(<A HREF="../../../quicktime/app/RecordMovie.html">RecordMovie</A>&nbsp;rm)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows the application to register the intent to record a movie out of the compositing output of the SWCompositor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#sprites()">sprites</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This returns an Enumeration that allows your application to iterate over the TwoDSprite presenters that are responsible for presenting the image data within the Compositor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#tickle(float, int)">tickle</A></B>(float&nbsp;er,       int&nbsp;time)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Timer invokes the tickle method when the invocation constraints of  the Timer are reached.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a string representation of this object.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.SimpleSpace"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/SimpleSpace.html">SimpleSpace</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/SimpleSpace.html#addController(quicktime.app.spaces.Controller)">addController</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#addMember(java.lang.Object)">addMember</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#controllers()">controllers</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#finalize()">finalize</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#getProtocol()">getProtocol</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#getSource()">getSource</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#getTimer()">getTimer</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#hasMember(java.lang.Object)">hasMember</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#isAppropriate(java.lang.Object)">isAppropriate</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#memberAdded(java.lang.Object)">memberAdded</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#memberRemoved(java.lang.Object)">memberRemoved</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeAllControllers()">removeAllControllers</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeAllMembers()">removeAllMembers</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeController(quicktime.app.spaces.Controller)">removeController</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removedFrom(java.lang.Object)">removedFrom</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeMember(java.lang.Object)">removeMember</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#tickleList()">tickleList</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#timeChanged(int)">timeChanged</A></CODE></TD></TR></TABLE>&nbsp;<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>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.display.QTDisplaySpace"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.display.<A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#addMember(java.lang.Object, int)">addMember</A>, <A HREF="../../../quicktime/app/display/QTDisplaySpace.html#getBackLayer()">getBackLayer</A>, <A HREF="../../../quicktime/app/display/QTDisplaySpace.html#getFrontLayer()">getFrontLayer</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.Listener"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/Listener.html">Listener</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/Listener.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/spaces/Listener.html#removedFrom(java.lang.Object)">removedFrom</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.Space"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/Space.html">Space</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/Space.html#addController(quicktime.app.spaces.Controller)">addController</A>, <A HREF="../../../quicktime/app/spaces/Space.html#controllers()">controllers</A>, <A HREF="../../../quicktime/app/spaces/Space.html#getSource()">getSource</A>, <A HREF="../../../quicktime/app/spaces/Space.html#getTimer()">getTimer</A>, <A HREF="../../../quicktime/app/spaces/Space.html#removeController(quicktime.app.spaces.Controller)">removeController</A>, <A HREF="../../../quicktime/app/spaces/Space.html#tickleList()">tickleList</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.DynamicCollection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/DynamicCollection.html">DynamicCollection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/DynamicCollection.html#getProtocol()">getProtocol</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.Collection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/Collection.html">Collection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/Collection.html#addMember(java.lang.Object)">addMember</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#hasMember(java.lang.Object)">hasMember</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#isAppropriate(java.lang.Object)">isAppropriate</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#isEmpty()">isEmpty</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#members()">members</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#removeMember(java.lang.Object)">removeMember</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#size()">size</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.time.Ticklish"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.time.<A HREF="../../../quicktime/app/time/Ticklish.html">Ticklish</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/time/Ticklish.html#timeChanged(int)">timeChanged</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="hitTestFlag"><!-- --></A><H3>hitTestFlag</H3><PRE>public int <B>hitTestFlag</B></PRE><DL><DD>default hit test is only to test on the visible pixels of a sprite</DL><HR><A NAME="taskFlag"><!-- --></A><H3>taskFlag</H3><PRE>public int <B>taskFlag</B></PRE><DL><DD>This flag is used when the task method is called.  You can use any of the values from the idle in flags of the SpriteWorld</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="SWCompositor(quicktime.qd.QDGraphics, quicktime.qd.QDColor, quicktime.qd.QDGraphics, int, int, quicktime.app.spaces.Protocol)"><!-- --></A><H3>SWCompositor</H3><PRE>protected <B>SWCompositor</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;spriteGWorld,                       <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backgroundColor,                       <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;background,                       int&nbsp;scale,                       int&nbsp;period,                       <A HREF="../../../quicktime/app/spaces/Protocol.html">Protocol</A>&nbsp;defaultProtocol)                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Used by subclasses to construct a SWCompositor. The subclass must specify a background or a backgroundColor but not both.<DD><DL><DT><B>Parameters:</B><DD><CODE>spriteGWorld</CODE> - this the buffer which the internal SpriteWorld uses to composit its image into.<DD><CODE>background</CODE> - this is background that can be supplied to the SpriteWorld<DD><CODE>backgroundColor</CODE> - this is background color that can be supplied to the SpriteWorld<DD><CODE>scale</CODE> - the initial scale of the Space's timer<DD><CODE>period</CODE> - the initial period of the Space's timer<DD><CODE>defaultProtocol</CODE> - the minimal Protocol that members of the SWCompositor must meet</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="resetStatistics()"><!-- --></A><H3>resetStatistics</H3><PRE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -