📄 region.html
字号:
<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> mc, <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A> window)</CODE><BR> 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 <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> m)</CODE><BR> 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 <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> m)</CODE><BR> 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 <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> m, int time, int duration)</CODE><BR> 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 <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> p, <A HREF="../../quicktime/streaming/Stream.html">Stream</A> s)</CODE><BR> 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 <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> t)</CODE><BR> 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 <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> t)</CODE><BR> 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 <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> t)</CODE><BR> 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 <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> t)</CODE><BR> 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 <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> t, int time, int duration)</CODE><BR> 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 <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> vc)</CODE><BR> 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> <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> 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> <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> 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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#getSize()">getSize</A></B>()</CODE><BR> Returns size of the 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/qd/Region.html#inset(int, int)">inset</A></B>(int dh, int dv)</CODE><BR> 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> 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> srcRect, <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> dstRect)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#offset(int, int)">offset</A></B>(int dh, int dv)</CODE><BR> 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> 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> graphics)</CODE><BR> 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> 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> pt)</CODE><BR> 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> 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> r)</CODE><BR> 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> 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> srcRect)</CODE><BR> 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> <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> r)</CODE><BR> 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> <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> regionB)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#setEmpty()">setEmpty</A></B>()</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#setRect(int, int, int, int)">setRect</A></B>(int x, int y, int width, int height)</CODE><BR> 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> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Region.html#toString()">toString</A></B>()</CODE><BR> Print information about this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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> rect)</CODE><BR> 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> <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> regionB)</CODE><BR> 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> <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> regionB)</CODE><BR> Calculates the difference between the union and intersection of two regions and creates a new region representing that structure.</TD></TR></TABLE> <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 + -