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

📄 region.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<A NAME="fromMovieControllerClip(quicktime.std.movies.MovieController)"><!-- --></A><H3>fromMovieControllerClip</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromMovieControllerClip</B>(<A HREF="../../quicktime/std/movies/MovieController.html">MovieController</A>&nbsp;mc)                                      throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to obtain information describing a movie controller's clipping regions.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imMovieContComp.d.htm#imMovi88">QuickTime::MCGetClip()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mc</CODE> - the MovieController<DT><B>Returns:</B><DD>the clipping region of the entire movie controller<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/MovieController.html#getClip()"><CODE>MovieController.getClip()</CODE></A></DL></DD></DL><HR><A NAME="fromMovieControllerBadge(quicktime.std.movies.MovieController, quicktime.qd.Region, boolean)"><!-- --></A><H3>fromMovieControllerBadge</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromMovieControllerBadge</B>(<A HREF="../../quicktime/std/movies/MovieController.html">MovieController</A>&nbsp;mc,                                              <A HREF="../../quicktime/qd/Region.html">Region</A>&nbsp;movieRgn,                                              boolean&nbsp;returnBadgeRgn)                                       throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to display a controller's badge.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imMovieContComp.d.htm#imMovi65">QuickTime::MCDrawBadge()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mc</CODE> - the MovieController<DD><CODE>movieRgn</CODE> - Specifies the boundary region of the controller's movie.<DT><B>Returns:</B><DD>A Region that gives information about the location of the badge.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/MovieController.html#drawBadge(quicktime.qd.Region, boolean)"><CODE>MovieController.drawBadge(quicktime.qd.Region, boolean)</CODE></A></DL></DD></DL><HR><A NAME="fromTrackClip(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrackClip</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromTrackClip</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)                            throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows your application to determine the clipping region of a track.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.32.htm#iqMovi703">QuickTime::GetTrackClipRgn()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Track<DT><B>Returns:</B><DD>a Region object specifying the clip region for this track.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getClipRgn()"><CODE>Track.getClipRgn()</CODE></A></DL></DD></DL><HR><A NAME="fromTrackDisplay(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrackDisplay</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromTrackDisplay</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)                               throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows your application to determine the region a track occupies in a movie's graphics world. <BR><BR><b>QuickTime::GetTrackDisplayBoundsRgn()</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Track<DT><B>Returns:</B><DD>a Region object specifying the track's bounds region.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getDisplayBoundsRgn()"><CODE>Track.getDisplayBoundsRgn()</CODE></A></DL></DD></DL><HR><A NAME="fromTrackMovieBounds(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrackMovieBounds</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromTrackMovieBounds</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)                                   throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows your application to determine the region the track occupies in a movie's boundary region.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.32.htm#iqMovi668">QuickTime::GetTrackMovieBoundsRgn()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Track<DT><B>Returns:</B><DD>a Region object specifying the region the track occupies in a movie's boundary region.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getMovieBoundsRgn()"><CODE>Track.getMovieBoundsRgn()</CODE></A></DL></DD></DL><HR><A NAME="fromTrackBounds(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrackBounds</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromTrackBounds</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t)                              throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows the media to limit the size of the track boundary rectangle.  Therefore, the region  returned by GetTrackBoundsRgn may not be rectangular and may be smaller than the track boundary region.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.32.htm#iqMovi687">QuickTime::GetTrackBoundsRgn()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Track<DT><B>Returns:</B><DD>a Region object specifying the region track's media uses to do drawing.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getBoundsRgn()"><CODE>Track.getBoundsRgn()</CODE></A></DL></DD></DL><HR><A NAME="fromTrackSegment(quicktime.std.movies.Track, int, int)"><!-- --></A><H3>fromTrackSegment</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromTrackSegment</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t,                                      int&nbsp;time,                                      int&nbsp;duration)                               throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows your application to determine the region a track occupies in a movie's graphics  world during a specified segment. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.32.htm#iqMovi645">QuickTime::GetTrackSegmentDisplayBoundsRgn()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Track<DD><CODE>time</CODE> - Specifies the starting time of the track segment to consider.<DD><CODE>duration</CODE> - Specifies the length of the segment to consider. Set this parameter to 0 to  consider an instant in time.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getSegmentDisplayBoundsRgn(int, int)"><CODE>Track.getSegmentDisplayBoundsRgn(int, int)</CODE></A></DL></DD></DL><HR><A NAME="fromVideoChannel(quicktime.std.sg.VisualChannel)"><!-- --></A><H3>fromVideoChannel</H3><PRE>public static <A HREF="../../quicktime/qd/Region.html">Region</A> <B>fromVideoChannel</B>(<A HREF="../../quicktime/std/sg/VisualChannel.html">VisualChannel</A>&nbsp;vc)                               throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows you to retrieve a channels clipping region.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.10.htm#imSeqG32">QuickTime::SGGetChannelClip</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.f.htm#imSeqG352">QuickTime::SGGetChannelClip</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>vc</CODE> - the VisualChannel<DT><B>Returns:</B><DD>the clipping region or null if no clip.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/sg/VisualChannel.html#getClip()"><CODE>VisualChannel.getClip()</CODE></A></DL></DD></DL><HR><A NAME="getSize()"><!-- --></A><H3>getSize</H3><PRE>public int <B>getSize</B>()</PRE><DL><DD>Returns size of the Region.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTHandleRef.html#getSize()">getSize</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A></CODE></DL></DD><DD>Following copied from class: <CODE>quicktime.util.QTHandleRef</CODE></DD><DD><DL><DT><B>Returns:</B><DD>the size of the handle</DL></DD></DL><HR><A NAME="getRgnBBox()"><!-- --></A><H3>getRgnBBox</H3><PRE>public <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> <B>getRgnBBox</B>()</PRE><DL><DD>Returns a copy of the bounding rectangle of the Region.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a rect</DL></DD></DL><HR><A NAME="getBounds()"><!-- --></A><H3>getBounds</H3><PRE>public <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> <B>getBounds</B>()</PRE><DL><DD>Returns a copy of the bounding rectangle of the Region.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a rect</DL></DD></DL><HR><A NAME="open(quicktime.qd.QDGraphics)"><!-- --></A><H3>open</H3><PRE>public void <B>open</B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;graphics)          throws <A HREF="../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Begins the recording of lines or frames in the specified QDGraphics that when closed will define a Region. <BR><BR><b>QuickDraw::OpenRgn</b><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - the QDGraphics object to record.</DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>()           throws <A HREF="../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Completes the collection of lines or frames that define the Region. <BR><BR><b>QuickDraw::CloseRgn</b><BR><DD><DL></DL></DD></DL><HR><A NAME="rect(quicktime.qd.QDRect)"><!-- --></A><H3>rect</H3><PRE>public void <B>rect</B>(<A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</PRE><DL><DD>Resets the mathematical structure to the specified rectangle. Destroys the previous mathematical structure of the implicit region. <BR><BR><b>QuickDraw::RectRgn</b><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - the specified rectangle</DL></DD></DL><HR><A NAME="copy()"><!-- --></A><H3>copy</H3><PRE>public <A HREF="../../quicktime/qd/Region.html">Region</A> <B>copy</B>()            throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Copies the mathematical structure of the implicit region into a newly created region. <BR><BR><b>QuickDraw::CopyRgn</b><BR> <BR><BR><b>QuickDraw::MacCopyRgn</b><BR><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A new region copy.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Copies the mathematical structure of the implicit region into a newly created region. <BR><BR><b>QuickDraw::CopyRgn</b><BR><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A new region copy.</DL></DD></DL>

⌨️ 快捷键说明

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