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

📄 region.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromMovieControllerWindow(quicktime.std.movies.MovieController, quicktime.qd.QDGraphics)">fromMovieControllerWindow</A></B>(<A HREF="../../quicktime/std/movies/MovieController.html">MovieController</A>&nbsp;mc,                          <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;window)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method  allows your application to determine the window region that is actually in use by a controller and its movie.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromMovieDisplayBounds(quicktime.std.movies.Movie)">fromMovieDisplayBounds</A></B>(<A HREF="../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine a movie's display boundary region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromMovieDisplayClip(quicktime.std.movies.Movie)">fromMovieDisplayClip</A></B>(<A HREF="../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine a movie's current display clipping region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromMovieSegment(quicktime.std.movies.Movie, int, int)">fromMovieSegment</A></B>(<A HREF="../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m,                 int&nbsp;time,                 int&nbsp;duration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine a movie's display boundary region during a specified segment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromPresentationClip(quicktime.streaming.Presentation, quicktime.streaming.Stream)">fromPresentationClip</A></B>(<A HREF="../../quicktime/streaming/Presentation.html">Presentation</A>&nbsp;p,                     <A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine a Presentation's clipping region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromTrackBounds(quicktime.std.movies.Track)">fromTrackBounds</A></B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows the media to limit the size of the track boundary rectangle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromTrackClip(quicktime.std.movies.Track)">fromTrackClip</A></B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine the clipping region of a track.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromTrackDisplay(quicktime.std.movies.Track)">fromTrackDisplay</A></B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine the region a track occupies in a movie's graphics world.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromTrackMovieBounds(quicktime.std.movies.Track)">fromTrackMovieBounds</A></B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine the region the track occupies in a movie's boundary region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromTrackSegment(quicktime.std.movies.Track, int, int)">fromTrackSegment</A></B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t,                 int&nbsp;time,                 int&nbsp;duration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows your application to determine the region a track occupies in a movie's graphics  world during a specified segment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#fromVideoChannel(quicktime.std.sg.VisualChannel)">fromVideoChannel</A></B>(<A HREF="../../quicktime/std/sg/VisualChannel.html">VisualChannel</A>&nbsp;vc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows you to retrieve a channels clipping region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#getBounds()">getBounds</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the bounding rectangle of the Region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#getRgnBBox()">getRgnBBox</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the bounding rectangle of the Region.</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/qd/Region.html#getSize()">getSize</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns size of the Region.</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/qd/Region.html#inset(int, int)">inset</A></B>(int&nbsp;dh,      int&nbsp;dv)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves all points on the region boundary horizontally and vertically by adding the respective parameters to those points.</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/qd/Region.html#map(quicktime.qd.QDRect, quicktime.qd.QDRect)">map</A></B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,    <A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;dstRect)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Takes the implicit region with one rectangle, maps and scales it to another rectangle.</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/qd/Region.html#offset(int, int)">offset</A></B>(int&nbsp;dh,       int&nbsp;dv)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the region horizontally and vertically by adding the respective parameters to all of the region.</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/qd/Region.html#open(quicktime.qd.QDGraphics)">open</A></B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;graphics)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Begins the recording of lines or frames in the specified QDGraphics that when closed will define a Region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#pointIn(quicktime.qd.QDPoint)">pointIn</A></B>(<A HREF="../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;pt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the pixel below and to the right of the point is within the region.</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/qd/Region.html#rect(quicktime.qd.QDRect)">rect</A></B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the mathematical structure to the specified rectangle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#rectIn(quicktime.qd.QDRect)">rectIn</A></B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the specified rectangle intersects the region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#sect(quicktime.qd.QDRect)">sect</A></B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the intersection of this region and the incoming QDRect  and creates a new region representing that structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#sect(quicktime.qd.Region)">sect</A></B>(<A HREF="../../quicktime/qd/Region.html">Region</A>&nbsp;regionB)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the intersection of two regions and creates a new region representing that structure.</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/qd/Region.html#setEmpty()">setEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the mathematical structure to the rectangle (0,0,0,0).</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/qd/Region.html#setRect(int, int, int, int)">setRect</A></B>(int&nbsp;x,        int&nbsp;y,        int&nbsp;width,        int&nbsp;height)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the mathematical structure to the specified coordinates and sizes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print information about this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#union(quicktime.qd.QDRect)">union</A></B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;rect)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the union of this region and the incoming rect, and creates a new region representing that structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#union(quicktime.qd.Region)">union</A></B>(<A HREF="../../quicktime/qd/Region.html">Region</A>&nbsp;regionB)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the union of two regions and creates a new region representing that structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#xor(quicktime.qd.Region)">xor</A></B>(<A HREF="../../quicktime/qd/Region.html">Region</A>&nbsp;regionB)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the difference between the union and intersection of two regions and creates a new region representing that structure.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.util.QTHandleRef"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.util.<A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, byte[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, char[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, double[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, float[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, int[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, long[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, short[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, byte[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, char[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, double[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, float[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, int[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, long[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, short[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#fromCompressionDialogState(quicktime.std.qtcomponents.CompressionDialog)">fromCompressionDialogState</A>, <A HREF="../../quicktime/util/QTHandleRef.html#fromSCSequence(quicktime.std.qtcomponents.SCSequence, quicktime.qd.QDGraphics, quicktime.qd.QDRect)">fromSCSequence</A>, <A HREF="../../quicktime/util/QTHandleRef.html#getBytes()">getBytes</A>, <A HREF="../../quicktime/util/QTHandleRef.html#inMemory()">inMemory</A>, <A HREF="../../quicktime/util/QTHandleRef.html#isLocked()">isLocked</A>, <A HREF="../../quicktime/util/QTHandleRef.html#lock()">lock</A>, <A HREF="../../quicktime/util/QTHandleRef.html#lockHigh()">lockHigh</A>, <A HREF="../../quicktime/util/QTHandleRef.html#moveHigh()">moveHigh</A>, <A HREF="../../quicktime/util/QTHandleRef.html#toQTPointer()">toQTPointer</A>, <A HREF="../../quicktime/util/QTHandleRef.html#toQTPointer(int, int)">toQTPointer</A>, <A HREF="../../quicktime/util/QTHandleRef.html#unlock()">unlock</A></CODE></TD>

⌨️ 快捷键说明

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