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

📄 qttransition.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/image/QTFilter.html#setUpSequence()">setUpSequence</A></CODE> in class <CODE><A HREF="../../../quicktime/app/image/QTFilter.html">QTFilter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if a new DSequence was created, otherwise false.</DL></DD></DL><HR><A NAME="doTransition()"><!-- --></A><H3>doTransition</H3><PRE>public void <B>doTransition</B>()                  throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This will run the currently selected effect on the visual rectangle that is defined by the display bounds of this object.  After the effect is run the destination image of the transition is now the visible image in the effect's display space</DL><HR><A NAME="swapImages()"><!-- --></A><H3>swapImages</H3><PRE>public void <B>swapImages</B>()                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This swaps the source and destination images.</DL><HR><A NAME="setFrames(int)"><!-- --></A><H3>setFrames</H3><PRE>public void <B>setFrames</B>(int&nbsp;frames)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the maximum number of frames that an effect can run for.</DL><HR><A NAME="setFramesPerSecond(int)"><!-- --></A><H3>setFramesPerSecond</H3><PRE>public void <B>setFramesPerSecond</B>(int&nbsp;frames)                        throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the maximum frames per second that the effect will attempt to render</DL><HR><A NAME="getFramesPerSecond()"><!-- --></A><H3>getFramesPerSecond</H3><PRE>public int <B>getFramesPerSecond</B>()</PRE><DL><DD>Returns the current frames per second that the effect draws in if the effect is rendered using the time constraint<DD><DL><DT><B>Returns:</B><DD>the fps of the effect</DL></DD></DL><HR><A NAME="setCurrentFrame(int)"><!-- --></A><H3>setCurrentFrame</H3><PRE>public void <B>setCurrentFrame</B>(int&nbsp;frame)</PRE><DL><DD>This sets the current frame of the effect. A value of zero means to draw the source image of  the transition.<DD><DL><DT><B>Parameters:</B><DD><CODE>frame</CODE> - the frame to be rendered</DL></DD></DL><HR><A NAME="setTime(int)"><!-- --></A><H3>setTime</H3><PRE>public void <B>setTime</B>(int&nbsp;time)             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the duration of the effect when it is run if the effect is run in time mode<DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the time in milliseconds for the effect to run for in time mode</DL></DD></DL><HR><A NAME="getTime()"><!-- --></A><H3>getTime</H3><PRE>public int <B>getTime</B>()</PRE><DL><DD>Returns the time that an effect will run for in milliseconds<DD><DL><DT><B>Returns:</B><DD>milliseconds</DL></DD></DL><HR><A NAME="doTime(boolean)"><!-- --></A><H3>doTime</H3><PRE>public void <B>doTime</B>(boolean&nbsp;flag)</PRE><DL><DD>If true then the effect will run in the time alloted.  If false then the effect will run for the specified frames.<DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - a boolean</DL></DD></DL><HR><A NAME="isTime()"><!-- --></A><H3>isTime</H3><PRE>public boolean <B>isTime</B>()</PRE><DL><DD>Returns true if the effect is running for a specified duration or  false if the effect is running for a specified number of frames<DD><DL><DT><B>Returns:</B><DD>true if the doEffect method runs the effect in time mode, false if in frame mode.</DL></DD></DL><HR><A NAME="setProfiled(boolean)"><!-- --></A><H3>setProfiled</H3><PRE>public void <B>setProfiled</B>(boolean&nbsp;flag)</PRE><DL><DD>Set this to true if you wish to profile the actual running of the effect, or false to not collect.  Once profiling your application can determine the amount of time it took to render a transition and how many frames were actually rendered. These values are generated and reset from each call of the doTransition() method.<DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - if true will profile</DL></DD></DL><HR><A NAME="isProfiled()"><!-- --></A><H3>isProfiled</H3><PRE>public boolean <B>isProfiled</B>()</PRE><DL><DD>Returns the current profiling status.<DD><DL><DT><B>Returns:</B><DD>a boolean indicating the profiling status of the transition</DL></DD></DL><HR><A NAME="profileFramesRendered()"><!-- --></A><H3>profileFramesRendered</H3><PRE>public int <B>profileFramesRendered</B>()</PRE><DL><DD>If profiling this returns the number of frames that were rendered in the last time that the doTransition() method was called. If profiling is disabled  this method returns 0.<DD><DL><DT><B>Returns:</B><DD>an int</DL></DD></DL><HR><A NAME="profileDuration()"><!-- --></A><H3>profileDuration</H3><PRE>public int <B>profileDuration</B>()</PRE><DL><DD>If profiling this returns the total time it took to run the doTransition method. If profiling is disabled this method returns 0.<DD><DL><DT><B>Returns:</B><DD>an int</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/QTTransition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../quicktime/app/image/QTImageProducer.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="QTTransition.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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