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

📄 qttransition.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If profiling this returns the total time it took to run the doTransition method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/QTTransition.html#profileFramesRendered()">profileFramesRendered</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If profiling this returns the number of frames that were rendered in the last time that the doTransition() method was called.</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/image/QTTransition.html#setCurrentFrame(int)">setCurrentFrame</A></B>(int&nbsp;frame)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This sets the current frame of the effect.</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/image/QTTransition.html#setDestinationImage(quicktime.app.image.ImageSpec)">setDestinationImage</A></B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A>&nbsp;image)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination image of the Transition - the image that the transition will transition to.</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/image/QTTransition.html#setEffect(quicktime.std.movies.AtomContainer)">setEffect</A></B>(<A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A>&nbsp;effectParams)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will take the incoming parameters and use this as the control parameters for the  effect.</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/image/QTTransition.html#setFrames(int)">setFrames</A></B>(int&nbsp;frames)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum number of frames that an effect can run for.</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/image/QTTransition.html#setFramesPerSecond(int)">setFramesPerSecond</A></B>(int&nbsp;frames)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum frames per second that the effect will attempt to render</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/image/QTTransition.html#setProfiled(boolean)">setProfiled</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set this to true if you wish to profile the actual running of the effect, or false to not collect.</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/image/QTTransition.html#setTime(int)">setTime</A></B>(int&nbsp;time)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the duration of the effect when it is run if the effect is run in time mode</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/QTTransition.html#setUpSequence()">setUpSequence</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called by a number of other methods to create the DSequence that is used to render the QTEffect.</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/image/QTTransition.html#swapImages()">swapImages</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This swaps the source and destination images.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.image.QTFilter"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.image.<A HREF="../../../quicktime/app/image/QTFilter.html">QTFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/QTFilter.html#getOriginalSize()">getOriginalSize</A>, <A HREF="../../../quicktime/app/image/QTFilter.html#getSourceImage()">getSourceImage</A>, <A HREF="../../../quicktime/app/image/QTFilter.html#setSourceImage(quicktime.app.image.ImageSpec)">setSourceImage</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.image.QTEffect"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.image.<A HREF="../../../quicktime/app/image/QTEffect.html">QTEffect</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/QTEffect.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#checkForEffect(int)">checkForEffect</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getClip()">getClip</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getCurrentFrame()">getCurrentFrame</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getDescription()">getDescription</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getDisplayBounds()">getDisplayBounds</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getDSequence()">getDSequence</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getEffect()">getEffect</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getFrames()">getFrames</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getGWorld()">getGWorld</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getImage()">getImage</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getInitialSize()">getInitialSize</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#getMatrix()">getMatrix</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#isRedrawing()">isRedrawing</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#isSingleFrame()">isSingleFrame</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#redraw(quicktime.qd.Region)">redraw</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#removedFrom(java.lang.Object)">removedFrom</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setClip(quicktime.qd.Region)">setClip</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setLocation(int, int)">setLocation</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A>, <A HREF="../../../quicktime/app/image/QTEffect.html#setRedrawing(boolean)">setRedrawing</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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="QTTransition()"><!-- --></A><H3>QTTransition</H3><PRE>public <B>QTTransition</B>()             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QTTransition with default settings of a time-specified duration of 2000 msecs, an effect fps of 20, a redraw setting as kMultiFrame and an initialSize of 0, 0.</DL><HR><A NAME="QTTransition(java.awt.Dimension)"><!-- --></A><H3>QTTransition</H3><PRE>public <B>QTTransition</B>(java.awt.Dimension&nbsp;d)             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4.0</I><P><DD>Creates a QTTransition with default settings of a time-specified duration of 2000 msecs, an effect fps of 20, a redraw setting as kMultiFrame and the specified initialSize.</DL><HR><A NAME="QTTransition(quicktime.qd.QDDimension)"><!-- --></A><H3>QTTransition</H3><PRE>public <B>QTTransition</B>(<A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A>&nbsp;d)             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QTTransition with default settings of a time-specified duration of 2000 msecs, an effect fps of 20, a redraw setting as kMultiFrame and the specified initialSize.</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="setEffect(quicktime.std.movies.AtomContainer)"><!-- --></A><H3>setEffect</H3><PRE>public void <B>setEffect</B>(<A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A>&nbsp;effectParams)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method will take the incoming parameters and use this as the control parameters for the  effect. The container will be locked for the duration of the effect object's life or until  another effect is set.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/image/QTFilter.html#setEffect(quicktime.std.movies.AtomContainer)">setEffect</A></CODE> in class <CODE><A HREF="../../../quicktime/app/image/QTFilter.html">QTFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>effectParams</CODE> - the parameters that determine the effect that is run</DL></DD></DL><HR><A NAME="setDestinationImage(quicktime.app.image.ImageSpec)"><!-- --></A><H3>setDestinationImage</H3><PRE>public void <B>setDestinationImage</B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A>&nbsp;image)                         throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the destination image of the Transition - the image that the transition will transition to.</DL><HR><A NAME="getDestinationImage()"><!-- --></A><H3>getDestinationImage</H3><PRE>public <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> <B>getDestinationImage</B>()</PRE><DL><DD>Returns the current destination image</DL><HR><A NAME="setUpSequence()"><!-- --></A><H3>setUpSequence</H3><PRE>protected boolean <B>setUpSequence</B>()                         throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method is called by a number of other methods to create the DSequence that is used to render the QTEffect. When called the method will create a new DSequence if the required state has been established to enable the creation of the DSequence.<DD><DL>

⌨️ 快捷键说明

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