📄 j3dgraphics2d.html
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.awt.Graphics</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clipRect, copyArea, dispose, drawArc, drawBytes, drawChars, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRoundRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getFont, getFontMetrics, getFontMetrics, hitClip, setClip, setClip, setColor, setFont, setPaintMode, setXORMode, toString</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="create()"><!-- --></A><H3>create</H3><PRE>public final java.awt.Graphics <B>create</B>()</PRE><DL><DD>This method is not supported. The only way to obtain a J3DGraphics2D is from the associated Canvas3D.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>create</CODE> in class <CODE>java.awt.Graphics</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Canvas3D.html#getGraphics2D()"><CODE>Canvas3D.getGraphics2D()</CODE></A></DL></DD></DL><HR><A NAME="create(int, int, int, int)"><!-- --></A><H3>create</H3><PRE>public final java.awt.Graphics <B>create</B>(int x, int y, int width, int height)</PRE><DL><DD>This method is not supported. The only way to obtain a J3DGraphics2D is from the associated Canvas3D.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>create</CODE> in class <CODE>java.awt.Graphics</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Canvas3D.html#getGraphics2D()"><CODE>Canvas3D.getGraphics2D()</CODE></A></DL></DD></DL><HR><A NAME="setBackground(java.awt.Color)"><!-- --></A><H3>setBackground</H3><PRE>public final void <B>setBackground</B>(java.awt.Color color)</PRE><DL><DD>This method is not supported. Clearing a Canvas3D is done implicitly via a Background node in the scene graph or explicitly via the clear method in a 3D graphics context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setBackground</CODE> in class <CODE>java.awt.Graphics2D</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html" title="class in javax.media.j3d"><CODE>Background</CODE></A>, <A HREF="../../../javax/media/j3d/GraphicsContext3D.html#setBackground(javax.media.j3d.Background)"><CODE>GraphicsContext3D.setBackground(javax.media.j3d.Background)</CODE></A>, <A HREF="../../../javax/media/j3d/GraphicsContext3D.html#clear()"><CODE>GraphicsContext3D.clear()</CODE></A></DL></DD></DL><HR><A NAME="getBackground()"><!-- --></A><H3>getBackground</H3><PRE>public final java.awt.Color <B>getBackground</B>()</PRE><DL><DD>This method is not supported. Clearing a Canvas3D is done implicitly via a Background node in the scene graph or explicitly via the clear method in a 3D graphics context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getBackground</CODE> in class <CODE>java.awt.Graphics2D</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html" title="class in javax.media.j3d"><CODE>Background</CODE></A>, <A HREF="../../../javax/media/j3d/GraphicsContext3D.html#getBackground()"><CODE>GraphicsContext3D.getBackground()</CODE></A>, <A HREF="../../../javax/media/j3d/GraphicsContext3D.html#clear()"><CODE>GraphicsContext3D.clear()</CODE></A></DL></DD></DL><HR><A NAME="clearRect(int, int, int, int)"><!-- --></A><H3>clearRect</H3><PRE>public final void <B>clearRect</B>(int x, int y, int width, int height)</PRE><DL><DD>This method is not supported. Clearing a Canvas3D is done implicitly via a Background node in the scene graph or explicitly via the clear method in a 3D graphics context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clearRect</CODE> in class <CODE>java.awt.Graphics</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html" title="class in javax.media.j3d"><CODE>Background</CODE></A>, <A HREF="../../../javax/media/j3d/GraphicsContext3D.html#setBackground(javax.media.j3d.Background)"><CODE>GraphicsContext3D.setBackground(javax.media.j3d.Background)</CODE></A>, <A HREF="../../../javax/media/j3d/GraphicsContext3D.html#clear()"><CODE>GraphicsContext3D.clear()</CODE></A></DL></DD></DL><HR><A NAME="flush(boolean)"><!-- --></A><H3>flush</H3><PRE>public abstract void <B>flush</B>(boolean wait)</PRE><DL><DD>Flushes all previously executed rendering operations to the drawing buffer for this 2D graphics object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>wait</CODE> - flag indicating whether or not to wait for the rendering to be complete before returning from this call.</DL></DD></DL><HR><A NAME="drawAndFlushImage(java.awt.image.BufferedImage, int, int, java.awt.image.ImageObserver)"><!-- --></A><H3>drawAndFlushImage</H3><PRE>public abstract void <B>drawAndFlushImage</B>(java.awt.image.BufferedImage img, int x, int y, java.awt.image.ImageObserver observer)</PRE><DL><DD>Draws the specified image and flushes the buffer. This is functionally equivalent to calling <code>drawImage(...)</code> followed by <code>flush(false)</code>, but can avoid the cost of making an extra copy of the image in some cases. Anything previously drawn to this J3DGraphics2D will be flushed before the image is drawn.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>img</CODE> - The image to draw<DD><CODE>x</CODE> - The x location to draw at<DD><CODE>y</CODE> - The y location to draw at<DD><CODE>observer</CODE> - The ImageObserver<DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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="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="../../../javax/media/j3d/J3DBuffer.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/Leaf.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/media/j3d/J3DGraphics2D.html" target="_top"><B>FRAMES</B></A> <A HREF="J3DGraphics2D.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -