📄 qtfilter.html
字号:
<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="QTFilter()"><!-- --></A><H3>QTFilter</H3><PRE>public <B>QTFilter</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QTFilter which is a singleFrame filter and an initialSize of 0, 0.</DL><HR><A NAME="QTFilter(java.awt.Dimension)"><!-- --></A><H3>QTFilter</H3><PRE>public <B>QTFilter</B>(java.awt.Dimension d) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 4.0</I><P><DD>Creates a QTFilter which is a singleFrame filter and specified initialSize.<DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the initSize of the effect.</DL></DD></DL><HR><A NAME="QTFilter(quicktime.qd.QDDimension)"><!-- --></A><H3>QTFilter</H3><PRE>public <B>QTFilter</B>(<A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> d) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QTFilter which is a singleFrame filter and specified initialSize.<DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the initSize of the effect.</DL></DD></DL><HR><A NAME="QTFilter(int)"><!-- --></A><H3>QTFilter</H3><PRE>public <B>QTFilter</B>(int isSingleFrame) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QTFilter of specified frame setting and an initialSize of 0, 0.<DD><DL><DT><B>Parameters:</B><DD><CODE>multiFrameFlag</CODE> - is normally set to kMultiFrame. The setting of this flag will also set the initial setting of the redrawing flag. QTEffects require redrawing so the default value is kMultiFrame. Typically the QTFilters do not require redrawing so their default value is kSingleFrame. QTTransitions are multiframes and so do require redrawing.</DL></DD></DL><HR><A NAME="QTFilter(int, java.awt.Dimension)"><!-- --></A><H3>QTFilter</H3><PRE>public <B>QTFilter</B>(int isSingleFrame, java.awt.Dimension d) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 4.0</I><P><DD>Creates a QTFilter of specified frame setting and initSize.<DD><DL><DT><B>Parameters:</B><DD><CODE>multiFrameFlag</CODE> - is normally set to kMultiFrame. The setting of this flag will also set the initial setting of the redrawing flag. QTEffects require redrawing so the default value is kMultiFrame. Typically the QTFilters do not require redrawing so their default value is kSingleFrame. QTTransitions are multiframes and so do require redrawing.<DD><CODE>d</CODE> - the initSize of the effect.</DL></DD></DL><HR><A NAME="QTFilter(int, quicktime.qd.QDDimension)"><!-- --></A><H3>QTFilter</H3><PRE>public <B>QTFilter</B>(int isSingleFrame, <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> d) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QTFilter of specified frame setting and initSize.<DD><DL><DT><B>Parameters:</B><DD><CODE>multiFrameFlag</CODE> - is normally set to kMultiFrame. The setting of this flag will also set the initial setting of the redrawing flag. QTEffects require redrawing so the default value is kMultiFrame. Typically the QTFilters do not require redrawing so their default value is kSingleFrame. QTTransitions are multiframes and so do require redrawing.<DD><CODE>d</CODE> - the initSize of the effect.</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="setEffect(quicktime.std.movies.AtomContainer)"><!-- --></A><H3>setEffect</H3><PRE>public void <B>setEffect</B>(<A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> 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/QTEffect.html#setEffect(quicktime.std.movies.AtomContainer)">setEffect</A></CODE> in class <CODE><A HREF="../../../quicktime/app/image/QTEffect.html">QTEffect</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="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. If the original size was not specified in the Constructor then the original size of the current sourceImage is returned. If the original size was specified then it is returned.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/image/QTEffect.html#getOriginalSize()">getOriginalSize</A></CODE> in class <CODE><A HREF="../../../quicktime/app/image/QTEffect.html">QTEffect</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDDimension</DL></DD></DL><HR><A NAME="setSourceImage(quicktime.app.image.ImageSpec)"><!-- --></A><H3>setSourceImage</H3><PRE>public void <B>setSourceImage</B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> image) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This sets the QT source of the QTFilter, which is the image that the current filter will be applied to when doEffect is called.<DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - the image to use as the source of the filter</DL></DD></DL><HR><A NAME="getSourceImage()"><!-- --></A><H3>getSourceImage</H3><PRE>public <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> <B>getSourceImage</B>()</PRE><DL><DD>Returns the currently set source image of the QTFilter</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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/image/QTEffect.html#setUpSequence()">setUpSequence</A></CODE> in class <CODE><A HREF="../../../quicktime/app/image/QTEffect.html">QTEffect</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if a new DSequence was created, otherwise false.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QTFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/app/image/QTEffectPresenter.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/image/QTImageDrawer.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="QTFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -