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

📄 swcompositor.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
public void <B>resetStatistics</B>()</PRE><DL><DD>Resets the internal counters that are used to calculate the frame rate of the Compositor.<DD><DL></DL></DD></DL><HR><A NAME="getStatistics()"><!-- --></A><H3>getStatistics</H3><PRE>public float <B>getStatistics</B>()</PRE><DL><DD>The compositor's frame rate is calculated by the number of times it is tickled from the time an application calls resetStatistics and is only valid if the rate of the Compositor's Timer is not zero. If this rate is zero this returns 0. Thus an application uses these calls like: <pre>	myCompositor.resetStatistics();	Thread.sleep (2000);	//sleep the stat's thread for 2 seconds to allow gathering of profile info 	float fps = myCompositor.getStatistics(); </pre> This call does not reset the internal counters, so consequent calls of getStatistics will return frames rendered over a longer period of time.<DD><DL></DL></DD></DL><HR><A NAME="getInvalidatorList()"><!-- --></A><H3>getInvalidatorList</H3><PRE>public java.util.Enumeration <B>getInvalidatorList</B>()</PRE><DL><DD>Returns the list of invalidator objects for the Compositor's sprites that have a dynamic image source. If no members of the Compositor are dynamic image sources this call returns null.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an Enumeration</DL></DD></DL><HR><A NAME="getMemberInvalidator(java.lang.Object)"><!-- --></A><H3>getMemberInvalidator</H3><PRE>public <A HREF="../../../quicktime/app/actions/Invalidator.html">Invalidator</A> <B>getMemberInvalidator</B>(java.lang.Object&nbsp;member)</PRE><DL><DD>Returns the invalidator that is associated with the supplied member if the member has an Invalidator. If the member doesn't or the object is not a member of the Compositor this returns null.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>member</CODE> - a member of the Compositor<DT><B>Returns:</B><DD>an Invalidator</DL></DD></DL><HR><A NAME="setRecordMovie(quicktime.app.RecordMovie)"><!-- --></A><H3>setRecordMovie</H3><PRE>public void <B>setRecordMovie</B>(<A HREF="../../../quicktime/app/RecordMovie.html">RecordMovie</A>&nbsp;rm)                    throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows the application to register the intent to record a movie out of the compositing output of the SWCompositor. After each composit cycle the SWCompositor will call the frameReady of the RecordMovie object as long as the frameReady method returns true.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rm</CODE> - the RecordMovie object</DL></DD></DL><HR><A NAME="hasRecordMovie()"><!-- --></A><H3>hasRecordMovie</H3><PRE>public boolean <B>hasRecordMovie</B>()</PRE><DL><DD>Returns true if the SWCompositor has a RecordMovie object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>getDescription</B>()                                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method should return an ImageDescription that describes the image data that the class contains.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ImageDescription of an Image</DL></DD></DL><HR><A NAME="getImage()"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> <B>getImage</B>()                      throws <A HREF="../../../quicktime/QTException.html">QTException</A>,                             java.lang.IndexOutOfBoundsException</PRE><DL><DD>This method returns the actual image data.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getImage()">getImage</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the image data</DL></DD></DL><HR><A NAME="getParent()"><!-- --></A><H3>getParent</H3><PRE>public <A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A> <B>getParent</B>()</PRE><DL><DD>Returns the SWCompositor that this is the parent container of this SWCompositor.  This call may return null if the calling object is the top level containing space.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the parent SWCompositor or null</DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE>public <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>()                 throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This will return the client's current display transformations <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getMatrix()">getMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the display transformations of the client</DL></DD></DL><HR><A NAME="setMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public void <B>setMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the current matrix of the Transformable object to the new matrix.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD></DL><HR><A NAME="getInitialSize()"><!-- --></A><H3>getInitialSize</H3><PRE>public java.awt.Dimension <B>getInitialSize</B>()                                  throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4.0</I><P><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL></DL></DD><DD><DL><DT><B>See Also: </B><DD><CODE>()</CODE></DL></DD></DL><HR><A NAME="getOriginalSize()"><!-- --></A><H3>getOriginalSize</H3><PRE>public <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> <B>getOriginalSize</B>()                            throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getOriginalSize()">getOriginalSize</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the size of the offscreen buffer of the Compositor</DL></DD></DL><HR><A NAME="getGWorld()"><!-- --></A><H3>getGWorld</H3><PRE>public <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> <B>getGWorld</B>()</PRE><DL><DD>QTCanvas calls this method to get the destination QDGraphics of its client.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#getGWorld()">getGWorld</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDGraphics object or null</DL></DD></DL><HR><A NAME="setGWorld(quicktime.qd.QDGraphics)"><!-- --></A><H3>setGWorld</H3><PRE>public void <B>setGWorld</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;cgp)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>QTCanvas calls this method to give the client the QDGraphics object it should  use to do its drawing. If the incoming QDGraphics is the QDGraphics.scratch then the drawable will not be visible and can disable itself. If a client is unable to set the graphics world it should throw an exception. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cgp</CODE> - a QDGraphics object</DL></DD></DL><HR><A NAME="setDisplayBounds(quicktime.qd.QDRect)"><!-- --></A><H3>setDisplayBounds</H3><PRE>public void <B>setDisplayBounds</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;bounds)                      throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL>

⌨️ 快捷键说明

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