📄 swcompositor.html
字号:
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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setAutoRedrawing(boolean)">setAutoRedrawing</A></B>(boolean flag)</CODE><BR> 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> 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> clipRgn)</CODE><BR> 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> 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> bounds)</CODE><BR> 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> 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> mode)</CODE><BR> Sets the current graphics mode.</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/app/anim/SWCompositor.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> cgp)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#setLocation(int, int)">setLocation</A></B>(int x, int y)</CODE><BR> 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> 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> matrix)</CODE><BR> 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> 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> rm)</CODE><BR> 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 java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#sprites()">sprites</A></B>()</CODE><BR> 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#tickle(float, int)">tickle</A></B>(float er, int time)</CODE><BR> 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> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#toString()">toString</A></B>()</CODE><BR> Return a string representation of this object.</TD></TR></TABLE> <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> <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> <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> <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> <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> <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> <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> <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> <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> spriteGWorld, <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A> backgroundColor, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> background, int scale, int period, <A HREF="../../../quicktime/app/spaces/Protocol.html">Protocol</A> 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 + -