📄 twodsprite.html
字号:
<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>Returns:</B><DD>the runtime type is a java.awt.Dimension - the return value can be cast to this Class - however getOriginalSize should be used.<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</DL></DD></DL><HR><A NAME="invalidate()"><!-- --></A><H3>invalidate</H3><PRE>public final void <B>invalidate</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method invalidates the portion of the sprite's sprite world which is occupied by the sprite.<DD><DL></DL></DD></DL><HR><A NAME="hitTest(int, quicktime.qd.QDPoint)"><!-- --></A><H3>hitTest</H3><PRE>public boolean <B>hitTest</B>(int flags, <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A> loc) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method tests if a point is inside a sprite.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - Specifies the control flags.<DD><CODE>loc</CODE> - Specifies the test point.<DT><B>Returns:</B><DD>true if the point is inside the sprite, false if not.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>getDescription</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method gets the image description property of this sprite.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the image description.</DL></DD></DL><HR><A NAME="setDescription(quicktime.std.image.ImageDescription)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> idh) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the image description property of this sprite.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>idh</CODE> - Specifies the image description.</DL></DD></DL><HR><A NAME="getImage()"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> <B>getImage</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns the actual image data.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getImage()">getImage</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the image data</DL></DD></DL><HR><A NAME="getVisible()"><!-- --></A><H3>getVisible</H3><PRE>public boolean <B>getVisible</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method gets the visibility property of this sprite.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the visibility.</DL></DD></DL><HR><A NAME="setVisible(boolean)"><!-- --></A><H3>setVisible</H3><PRE>public void <B>setVisible</B>(boolean visible) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the visibility property of this sprite.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - Specifies the visibility.</DL></DD></DL><HR><A NAME="getLayer()"><!-- --></A><H3>getLayer</H3><PRE>public int <B>getLayer</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method gets the layer property of this sprite.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Layerable.html#getLayer()">getLayer</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Layerable.html">Layerable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the layer.</DL></DD></DL><HR><A NAME="setLayer(int)"><!-- --></A><H3>setLayer</H3><PRE>public void <B>setLayer</B>(int layer) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the layer property of this sprite.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Layerable.html#setLayer(int)">setLayer</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Layerable.html">Layerable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - Specifies the layer.</DL></DD></DL><HR><A NAME="getGraphicsMode()"><!-- --></A><H3>getGraphicsMode</H3><PRE>public <A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> <B>getGraphicsMode</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method gets the graphics mode property of this sprite.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Compositable.html#getGraphicsMode()">getGraphicsMode</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the graphics mode.</DL></DD></DL><HR><A NAME="setGraphicsMode(quicktime.std.image.GraphicsMode)"><!-- --></A><H3>setGraphicsMode</H3><PRE>public void <B>setGraphicsMode</B>(<A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> gMode) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the graphics mode property of this sprite.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Compositable.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gMode</CODE> - Specifies the graphics mode.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Returns true if the TwoDSprite represents the same Sprite object<DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a String representation of this class.<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String</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/TwoDSprite.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/anim/SWController.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/anim/TwoDSpriteInfo.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="TwoDSprite.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 + -