📄 groupdrawable.html
字号:
<HR><A NAME="getBackLayer()"><!-- --></A><H3>getBackLayer</H3><PRE>public int <B>getBackLayer</B>()</PRE><DL><DD>Returns the back most layer of any object in the group.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#getBackLayer()">getBackLayer</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current back most layer</DL></DD></DL><HR><A NAME="getFrontLayer()"><!-- --></A><H3>getFrontLayer</H3><PRE>public int <B>getFrontLayer</B>()</PRE><DL><DD>Returns the current front most layer of any object in the group.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#getFrontLayer()">getFrontLayer</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current front most layer</DL></DD></DL><HR><A NAME="getInitialSize()"><!-- --></A><H3>getInitialSize</H3><PRE>public java.awt.Dimension <B>getInitialSize</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 4.0</I><P><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL></DL></DD><DD><DL><DT><B>See Also: </B><DD><CODE>()</CODE></DL></DD></DL><HR><A NAME="getOriginalSize()"><!-- --></A><H3>getOriginalSize</H3><PRE>public <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> <B>getOriginalSize</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getOriginalSize()">getOriginalSize</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the original size of the GroupDrawable</DL></DD></DL><HR><A NAME="redraw(quicktime.qd.Region)"><!-- --></A><H3>redraw</H3><PRE>public void <B>redraw</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> invalidRgn) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>QTCanvas calls this method when the client should redraw itself. If the canvas is able to discern that only a part of the client's drawing area needs to be redrawn - then this area shall be passed in using the invalidRgn. Otherwise this will be null in which case the client should redraw itself entirely.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#redraw(quicktime.qd.Region)">redraw</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>canv</CODE> - the QTCanvas that is doing the drawing<DD><CODE>invalidRgn</CODE> - the invalidRgn that the client should redraw</DL></DD></DL><HR><A NAME="getLayerable(java.lang.Object)"><!-- --></A><H3>getLayerable</H3><PRE>public <A HREF="../../../quicktime/app/display/Layerable.html">Layerable</A> <B>getLayerable</B>(java.lang.Object member)</PRE><DL><DD>Returns the Layerable object for a member (or null if the Object is not a member) that allows the application to get and set the layer of a member. This may or may not be the member itself, depending both on the type of the object of the member and the manner in which the QTDisplaySpace handles the Layer property of its members.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#getLayerable(java.lang.Object)">getLayerable</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>member</CODE> - the member<DT><B>Returns:</B><DD>a Layerable object to interact with the display layer of a member.</DL></DD></DL><HR><A NAME="getTransformable(java.lang.Object)"><!-- --></A><H3>getTransformable</H3><PRE>public <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A> <B>getTransformable</B>(java.lang.Object member)</PRE><DL><DD>Returns the Transformable object that represents the member in the DisplaySpace. The Transformable object allows the application to get and set the TwoD display characteristics of a member (position, size, rotation, skewing, perspective). If the Object is not a member of the Space this returns null. This may or may not return the member itself, based on the type of the member and how the Space deals with the two dimensional placement and display of its members.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#getTransformable(java.lang.Object)">getTransformable</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>member</CODE> - the member of Space for which the Transformable object should be returned.<DT><B>Returns:</B><DD>a Transformable object that allows the application to manipulate the two d display characteristics of the member or null if the object is not a member.</DL></DD></DL><HR><A NAME="hitTest(int, int)"><!-- --></A><H3>hitTest</H3><PRE>public java.lang.Object <B>hitTest</B>(int x, int y) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the front most object located at the specified x and y pixel location or null if there is no object at the location<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#hitTest(int, int)">hitTest</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x pixel to test<DD><CODE>y</CODE> - the y pixel to test<DT><B>Returns:</B><DD>front most object or null</DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE>public <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This will return the client's current display transformations. A GroupDrawable object does not by default support any transformation but location. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getMatrix()">getMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the display transformations of the client</DL></DD></DL><HR><A NAME="setMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public void <B>setMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the current matrix of the Transformable object to the new matrix. A GroupDrawable object does not by default support any transformation but location.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>matrix</CODE> - the new location</DL></DD></DL><HR><A NAME="getClip()"><!-- --></A><H3>getClip</H3><PRE>public <A HREF="../../../quicktime/qd/Region.html">Region</A> <B>getClip</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to get the current clipped Region of the Transformable.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#getClip()">getClip</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the clipping region</DL></DD></DL><HR><A NAME="getBackgroundClip()"><!-- --></A><H3>getBackgroundClip</H3><PRE>public <A HREF="../../../quicktime/qd/Region.html">Region</A> <B>getBackgroundClip</B>()</PRE><DL><DD>This method returns the clip that contains any space within the GroupDrawable that is not drawn upon by one of the members. This region is contains the pixels that will be filled in with the background colour.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the background region.</DL></DD></DL><HR><A NAME="setClip(quicktime.qd.Region)"><!-- --></A><H3>setClip</H3><PRE>public abstract void <B>setClip</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> theClip) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to set a Transformable's clipping region.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setClip(quicktime.qd.Region)">setClip</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theClip</CODE> - a Region that defines the new clipping region.</DL></DD></DL><HR><A NAME="setAlignedMemberLocation(quicktime.app.display.QTDrawable, float, float)"><!-- --></A><H3>setAlignedMemberLocation</H3><PRE>protected void <B>setAlignedMemberLocation</B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A> drawer, float xAlign, float yAlign) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>A helper method that is used to set the location of the member based on the x and y alignment. The alignment values must be between 0 and 1.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>drawer</CODE> - The drawer to locate based on the current size of the GroupDrawable and the alignment values<DD><CODE>xAlign</CODE> - the x alignment<DD><CODE>yAlign</CODE> - the y alignment</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GroupDrawable.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/app/display/GroupController.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/display/GroupMember.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="GroupDrawable.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -