📄 region.html
字号:
</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>Region.</B><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>Region.</B><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/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#copy()">copy</A></B>()</CODE><BR> Copies the mathematical structure of the implicit region into a newly created 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>Region.</B><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> <A HREF="../../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B>Region.</B><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>Region.</B><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>Region.</B><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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#diff(quicktime.qd.Region)">diff</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> regionB)</CODE><BR> Calculates the subtracts the specified explicit region from the implicit region 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>Region.</B><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> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/qd/package-summary.html">quicktime.qd</A> with parameters of type <A HREF="../../../quicktime/qd/Region.html">Region</A></FONT></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>Pict.</B><B><A HREF="../../../quicktime/qd/Pict.html#drawTrimmed(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.Region, int)">drawTrimmed</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> cg, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> frameRect, <A HREF="../../../quicktime/qd/Region.html">Region</A> trimMask, int doDither)</CODE><BR> Allows the drawing of an image that is stored as a picture.</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>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#setClip(quicktime.qd.Region)">setClip</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> rgn)</CODE><BR> This method sets the clip Region of the port.</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>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#eraseRgn(quicktime.qd.Region)">eraseRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> area)</CODE><BR> Erases the specified region with the current back color.</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>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#paintRgn(quicktime.qd.Region)">paintRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> area)</CODE><BR> Paints the specified region with the current foreground color.</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>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#frameRgn(quicktime.qd.Region)">frameRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> area)</CODE><BR> Draws an outline just inside the region you pass in the area parameter.</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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#fromMovieControllerBadge(quicktime.std.movies.MovieController, quicktime.qd.Region, boolean)">fromMovieControllerBadge</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, <A HREF="../../../quicktime/qd/Region.html">Region</A> movieRgn, boolean returnBadgeRgn)</CODE><BR> This method allows you to display a controller's badge.</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>Region.</B><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> <A HREF="../../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B>Region.</B><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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#diff(quicktime.qd.Region)">diff</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> regionB)</CODE><BR> Calculates the subtracts the specified explicit region from the implicit region 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>Region.</B><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><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#equalRgn(quicktime.qd.Region)">equalRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> rgn)</CODE><BR> Compares two regions for sizes, shapes, and locations.</TD></TR></TABLE> <P><A NAME="quicktime.std.anim"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../quicktime/qd/Region.html">Region</A> in <A HREF="../../../quicktime/std/anim/package-summary.html">quicktime.std.anim</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/std/anim/package-summary.html">quicktime.std.anim</A> with parameters of type <A HREF="../../../quicktime/qd/Region.html">Region</A></FONT></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>SpriteWorld.</B><B><A HREF="../../../quicktime/std/anim/SpriteWorld.html#setClip(quicktime.qd.Region)">setClip</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> clipRgn)</CODE><BR> This method sets the sprite world's clip.</TD></TR></TABLE> <P><A NAME="quicktime.std.image"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../quicktime/qd/Region.html">Region</A> in <A HREF="../../../quicktime/std/image/package-summary.html">quicktime.std.image</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/std/image/package-summary.html">quicktime.std.image</A> that return <A HREF="../../../quicktime/qd/Region.html">Region</A></FONT></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>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getClip()">getClip</A></B>()</CODE><BR> Determines the current clipping 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>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getDefaultClip()">getDefaultClip</A></B>()</CODE><BR> Returns the default matrix.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/std/image/package-summary.html">quicktime.std.image</A> with parameters of type <A HREF="../../../quicktime/qd/Region.html">Region</A></FONT></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>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#transformRgn(quicktime.qd.Region)">transformRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> r)</CODE><BR> applies a specified matrix to a region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -