📄 track.html
字号:
<TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#getVolume()">getVolume</A></B>()</CODE><BR> This method returns a track's current volume setting.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#insertEmptySegment(int, int)">insertEmptySegment</A></B>(int dstIn, int dstDuration)</CODE><BR> This method adds an empty segment to a track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#insertMedia(int, int, int, float)">insertMedia</A></B>(int trackStart, int mediaTime, int mediaDuration, float mediaRate)</CODE><BR> This method inserts a reference to a media segment into a track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#insertSegment(quicktime.std.movies.Track, int, int, int)">insertSegment</A></B>(<A HREF="../../../quicktime/std/movies/Track.html">Track</A> dstTrack, int srcIn, int srcDuration, int dstIn)</CODE><BR> This method copies part of one track to another.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html">MovieImporter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#isScrapMovie()">isScrapMovie</A></B>()</CODE><BR> Looks on the System scrap to find out if it can translate any of the track data into a movie.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#loadIntoRam(int, int, int)">loadIntoRam</A></B>(int time, int duration, int flags)</CODE><BR> This method loads a track's data into memory.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/movies/TrackEditState.html">TrackEditState</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#newEditState()">newEditState</A></B>()</CODE><BR> You can create an edit state by calling the NewTrackEditState function.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#pointInMovie(quicktime.qd.QDPoint)">pointInMovie</A></B>(<A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A> pt)</CODE><BR> This method allows your application to determine whether a specified point lies in the region defined by a track's display boundary region after it has been clipped by the movie's final display clipping region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#removeMedia()">removeMedia</A></B>()</CODE><BR> Removes a track's media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#scaleSegment(int, int, int)">scaleSegment</A></B>(int startTime, int oldDuration, int newDuration)</CODE><BR> This method changes the duration of a segment of a track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setAlternate(quicktime.std.movies.Track)">setAlternate</A></B>(<A HREF="../../../quicktime/std/movies/Track.html">Track</A> alternateT)</CODE><BR> This method allows your application to add tracks to or remove tracks from alternate groups.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setClipRgn(quicktime.qd.Region)">setClipRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> theClip)</CODE><BR> This method allows your application to set the clipping region of a track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setDimensions(java.awt.Dimension)">setDimensions</A></B>(java.awt.Dimension d)</CODE><BR> <B>Deprecated.</B> <I>as of QTJava 4.0 see setSize</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setEnabled(boolean)">setEnabled</A></B>(boolean enabled)</CODE><BR> This method allows your application to enable and disable a track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setGWorld(quicktime.qd.QDGraphics, quicktime.qd.GDevice)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> port, <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A> gdh)</CODE><BR> This method sets a new QDGraphics for the track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setLayer(int)">setLayer</A></B>(int layer)</CODE><BR> This method allows your application to set a track's layer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setLoadSettings(quicktime.std.movies.LoadSettings)">setLoadSettings</A></B>(<A HREF="../../../quicktime/std/movies/LoadSettings.html">LoadSettings</A> settings)</CODE><BR> This method allows you to specify a portion of a track that is to be loaded into memory whenever it is played.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix)</CODE><BR> This method allows your application to establish a track's transformation matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setMatte(quicktime.qd.PixMap)">setMatte</A></B>(<A HREF="../../../quicktime/qd/PixMap.html">PixMap</A> pm)</CODE><BR> A PixMap object which will describe the Matte of a Track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE><BR> This method allows your application to set a track's 'name' user data item.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setOffset(int)">setOffset</A></B>(int movieOffsetTime)</CODE><BR> This method modifies the duration of the empty space that lies at the beginning of the track, thus changing the duration of the entire track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setReference(quicktime.std.movies.Track, int, int)">setReference</A></B>(<A HREF="../../../quicktime/std/movies/Track.html">Track</A> refTrack, int refType, int index)</CODE><BR> This method allows you to modify an existing track reference.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setSize(quicktime.qd.QDDimension)">setSize</A></B>(<A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> d)</CODE><BR> This method allows your application to establish a track's source, or display, rectangle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setSoundLocalizationSettings(quicktime.util.QTHandle)">setSoundLocalizationSettings</A></B>(<A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A> newSettings)</CODE><BR> This method allows your application to set the sound localization settings for the track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setUsage(int)">setUsage</A></B>(int usage)</CODE><BR> This method allows your application to specify whether a track is used in a movie, its preview, its poster, or a combination of these.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#setVolume(float)">setVolume</A></B>(float volume)</CODE><BR> This method allows your application to set a track's current volume.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#toString()">toString</A></B>()</CODE><BR> String representation of this class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#trackTimeToMediaTime(int)">trackTimeToMediaTime</A></B>(int value)</CODE><BR> This method allows your application to convert a track's time value to a time value that is appropriate to the track's media using the track's edit list.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/Track.html#useEditState(quicktime.std.movies.TrackEditState)">useEditState</A></B>(<A HREF="../../../quicktime/std/movies/TrackEditState.html">TrackEditState</A> state)</CODE><BR> This method returns a track to its condition according to an edit state you created previously.</TD></TR></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -