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

📄 textmediahandler.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</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>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="addTextSample(quicktime.util.QTPointerRef, int, int, int, quicktime.qd.QDColor, quicktime.qd.QDColor, int, quicktime.qd.QDRect, int, int, int, int, quicktime.qd.QDColor, int)"><!-- --></A><H3>addTextSample</H3><PRE>public int <B>addTextSample</B>(<A HREF="../../../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;text,                         int&nbsp;fontNumber,                         int&nbsp;fontSize,                         int&nbsp;textFace,                         <A HREF="../../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;textColor,                         <A HREF="../../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backColor,                         int&nbsp;textJustification,                         <A HREF="../../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;textBox,                         int&nbsp;displayFlags,                         int&nbsp;scrollDelay,                         int&nbsp;hiliteStart,                         int&nbsp;hiliteEnd,                         <A HREF="../../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;rgbHiliteColor,                         int&nbsp;duration)                  throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method adds a single block of styled text to an existing media.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.49.htm#iqMovi1111">QuickTime::TextMediaAddTextSample()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - Contains the text to be added.<DD><CODE>fontNum</CODE> - Indicates the number for the font in which to display the text.<DD><CODE>fontSize</CODE> - Indicates the size of the font.<DD><CODE>textFace</CODE> - Indicates the typeface or style of the text (that is, bold, italic, and so on).<DD><CODE>textColor</CODE> - Contains a pointer to an RGB color structure specifying the color of the text.<DD><CODE>backColor</CODE> - Contains a pointer to an RGB color structure specifying the text background color.<DD><CODE>textJustification</CODE> - Indicates the justification of the text.<DD><CODE>textBox</CODE> - The box within which the text is to be displayed. The box is relative to the track bounds.<DD><CODE>displayFlags</CODE> - Contains the text display flags.<DD><CODE>scrollDelay</CODE> - Indicates the delay in scrolling associated with setting the dfScrollIn and dfScrollOut display flags.<DD><CODE>hiliteStart</CODE> - Specifies the beginning of the text to be highlited.<DD><CODE>hiliteEnd</CODE> - Specifies the end of the text to be highlighted.<DD><CODE>rgbHiliteColor</CODE> - The color for highlighting.<DD><CODE>duration</CODE> - Specifies how long the text sample should last. This duration is expressed in the media's time base.<DT><B>Returns:</B><DD>The actual media time at which the sample was added.</DL></DD></DL><HR><A NAME="findNextText(quicktime.util.QTPointerRef, int, int)"><!-- --></A><H3>findNextText</H3><PRE>public <A HREF="../../../../quicktime/std/movies/media/FoundTextInfo.html">FoundTextInfo</A> <B>findNextText</B>(<A HREF="../../../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;text,                                  int&nbsp;findFlags,                                  int&nbsp;startTime)                           throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method searches for text with a specified media handler starting at a given time.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.49.htm#iqMovi1118">QuickTime::TextMediaFindNextText()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - containes the text to be searched.<DD><CODE>findFlags</CODE> - Specifies the conditions of the search.<DD><CODE>startTime</CODE> - Indicates the time (expressed in the movie time scale) at which to begin the search.<DT><B>Returns:</B><DD>a FoundTextInfo object</DL></DD></DL><HR><A NAME="hiliteTextSample(int, int, int, quicktime.qd.QDColor)"><!-- --></A><H3>hiliteTextSample</H3><PRE>public void <B>hiliteTextSample</B>(int&nbsp;sampleTime,                             int&nbsp;hiliteStart,                             int&nbsp;hiliteEnd,                             <A HREF="../../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;hiliteColor)                      throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method can specify selected text to be highlighted. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.49.htm#iqMovi1121">QuickTime::TextMediaHiliteTextSample()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sampleTime</CODE> - Indicates a sample time (in the movie time scale) for the text to be highlighted.<DD><CODE>hiliteStart</CODE> - Specifies the beginning of the text to be highlighted.<DD><CODE>hiliteEnd</CODE> - Specifies the end of the text to be highlighted.<DD><CODE>hiliteColor</CODE> - Contains a pointer to the RGB color for highlighting.</DL></DD></DL><HR><A NAME="setDropShadowOffset(quicktime.qd.QDPoint)"><!-- --></A><H3>setDropShadowOffset</H3><PRE>public void <B>setDropShadowOffset</B>(<A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;offset)                         throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the shadow offset for the text media.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4d.htm#refMov200">QuickTime::TextMediaSetTextSampleData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - Specifies the offset.</DL></DD></DL><HR><A NAME="setDropShadowTranslucency(int)"><!-- --></A><H3>setDropShadowTranslucency</H3><PRE>public void <B>setDropShadowTranslucency</B>(int&nbsp;translucency)                               throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to specify the translucency value for the text shadows.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4d.htm#refMov200">QuickTime::TextMediaSetTextSampleData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>translucency</CODE> - Specifies the translucency.</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/TextMediaHandler.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/std/movies/media/TextMedia.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../quicktime/std/movies/media/ThreeDDescription.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>  &nbsp;&nbsp;<A HREF="TextMediaHandler.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 + -