📄 debuggraphics.html
字号:
public <A HREF="../../java/awt/Rectangle.html">Rectangle</A> <B>getClipBounds</B>()</PRE><DL><DD>Overrides <code>Graphics.getClipBounds</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#getClipBounds()">getClipBounds</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Returns:</B><DD>the bounding rectangle of the current clipping area, or <code>null</code> if no clip is set.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#getClip()"><CODE>Graphics.getClip()</CODE></A>, <A HREF="../../java/awt/Graphics.html#clipRect(int, int, int, int)"><CODE>Graphics.clipRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(int, int, int, int)"><CODE>Graphics.setClip(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(java.awt.Shape)"><CODE>Graphics.setClip(Shape)</CODE></A></DL></DD></DL><HR><A NAME="clipRect(int, int, int, int)"><!-- --></A><H3>clipRect</H3><PRE>public void <B>clipRect</B>(int x, int y, int width, int height)</PRE><DL><DD>Overrides <code>Graphics.clipRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#clipRect(int, int, int, int)">clipRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate of the rectangle to intersect the clip with<DD><CODE>y</CODE> - the y coordinate of the rectangle to intersect the clip with<DD><CODE>width</CODE> - the width of the rectangle to intersect the clip with<DD><CODE>height</CODE> - the height of the rectangle to intersect the clip with<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#setClip(int, int, int, int)"><CODE>Graphics.setClip(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(java.awt.Shape)"><CODE>Graphics.setClip(Shape)</CODE></A></DL></DD></DL><HR><A NAME="setClip(int, int, int, int)"><!-- --></A><H3>setClip</H3><PRE>public void <B>setClip</B>(int x, int y, int width, int height)</PRE><DL><DD>Overrides <code>Graphics.setClip</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#setClip(int, int, int, int)">setClip</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the new clip rectangle.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the new clip rectangle.<DD><CODE>width</CODE> - the width of the new clip rectangle.<DD><CODE>height</CODE> - the height of the new clip rectangle.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#clipRect(int, int, int, int)"><CODE>Graphics.clipRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(java.awt.Shape)"><CODE>Graphics.setClip(Shape)</CODE></A></DL></DD></DL><HR><A NAME="getClip()"><!-- --></A><H3>getClip</H3><PRE>public <A HREF="../../java/awt/Shape.html">Shape</A> <B>getClip</B>()</PRE><DL><DD>Overrides <code>Graphics.getClip</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#getClip()">getClip</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Returns:</B><DD>a <code>Shape</code> object representing the current clipping area, or <code>null</code> if no clip is set.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#getClipBounds()"><CODE>Graphics.getClipBounds()</CODE></A>, <A HREF="../../java/awt/Graphics.html#clipRect(int, int, int, int)"><CODE>Graphics.clipRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(int, int, int, int)"><CODE>Graphics.setClip(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(java.awt.Shape)"><CODE>Graphics.setClip(Shape)</CODE></A></DL></DD></DL><HR><A NAME="setClip(java.awt.Shape)"><!-- --></A><H3>setClip</H3><PRE>public void <B>setClip</B>(<A HREF="../../java/awt/Shape.html">Shape</A> clip)</PRE><DL><DD>Overrides <code>Graphics.setClip</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#setClip(java.awt.Shape)">setClip</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clip</CODE> - the <code>Shape</code> to use to set the clip<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#getClip()"><CODE>Graphics.getClip()</CODE></A>, <A HREF="../../java/awt/Graphics.html#clipRect(int, int, int, int)"><CODE>Graphics.clipRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setClip(int, int, int, int)"><CODE>Graphics.setClip(int, int, int, int)</CODE></A></DL></DD></DL><HR><A NAME="drawRect(int, int, int, int)"><!-- --></A><H3>drawRect</H3><PRE>public void <B>drawRect</B>(int x, int y, int width, int height)</PRE><DL><DD>Overrides <code>Graphics.drawRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#drawRect(int, int, int, int)">drawRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to be drawn.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to be drawn.<DD><CODE>width</CODE> - the width of the rectangle to be drawn.<DD><CODE>height</CODE> - the height of the rectangle to be drawn.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#fillRect(int, int, int, int)"><CODE>Graphics.fillRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#clearRect(int, int, int, int)"><CODE>Graphics.clearRect(int, int, int, int)</CODE></A></DL></DD></DL><HR><A NAME="fillRect(int, int, int, int)"><!-- --></A><H3>fillRect</H3><PRE>public void <B>fillRect</B>(int x, int y, int width, int height)</PRE><DL><DD>Overrides <code>Graphics.fillRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#fillRect(int, int, int, int)">fillRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to be filled.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to be filled.<DD><CODE>width</CODE> - the width of the rectangle to be filled.<DD><CODE>height</CODE> - the height of the rectangle to be filled.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#clearRect(int, int, int, int)"><CODE>Graphics.clearRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#drawRect(int, int, int, int)"><CODE>Graphics.drawRect(int, int, int, int)</CODE></A></DL></DD></DL><HR><A NAME="clearRect(int, int, int, int)"><!-- --></A><H3>clearRect</H3><PRE>public void <B>clearRect</B>(int x, int y, int width, int height)</PRE><DL><DD>Overrides <code>Graphics.clearRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#clearRect(int, int, int, int)">clearRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to clear.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to clear.<DD><CODE>width</CODE> - the width of the rectangle to clear.<DD><CODE>height</CODE> - the height of the rectangle to clear.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#fillRect(int, int, int, int)"><CODE>Graphics.fillRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#drawRect(int, int, int, int)"><CODE>Graphics.drawRect(int, int, int, int)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setColor(java.awt.Color)"><CODE>Graphics.setColor(java.awt.Color)</CODE></A>, <A HREF="../../java/awt/Graphics.html#setPaintMode()"><CODE>Graphics.setPaintMode()</CODE></A>, <A HREF="../../java/awt/Graphics.html#setXORMode(java.awt.Color)"><CODE>Graphics.setXORMode(java.awt.Color)</CODE></A></DL></DD></DL><HR><A NAME="drawRoundRect(int, int, int, int, int, int)"><!-- --></A><H3>drawRoundRect</H3><PRE>public void <B>drawRoundRect</B>(int x, int y, int width, int height, int arcWidth, int arcHeight)</PRE><DL><DD>Overrides <code>Graphics.drawRoundRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#drawRoundRect(int, int, int, int, int, int)">drawRoundRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to be drawn.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to be drawn.<DD><CODE>width</CODE> - the width of the rectangle to be drawn.<DD><CODE>height</CODE> - the height of the rectangle to be drawn.<DD><CODE>arcWidth</CODE> - the horizontal diameter of the arc at the four corners.<DD><CODE>arcHeight</CODE> - the vertical diameter of the arc at the four corners.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#fillRoundRect(int, int, int, int, int, int)"><CODE>Graphics.fillRoundRect(int, int, int, int, int, int)</CODE></A></DL></DD></DL><HR><A NAME="fillRoundRect(int, int, int, int, int, int)"><!-- --></A><H3>fillRoundRect</H3><PRE>public void <B>fillRoundRect</B>(int x, int y, int width, int height, int arcWidth, int arcHeight)</PRE><DL><DD>Overrides <code>Graphics.fillRoundRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#fillRoundRect(int, int, int, int, int, int)">fillRoundRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to be filled.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to be filled.<DD><CODE>width</CODE> - the width of the rectangle to be filled.<DD><CODE>height</CODE> - the height of the rectangle to be filled.<DD><CODE>arcWidth</CODE> - the horizontal diameter of the arc at the four corners.<DD><CODE>arcHeight</CODE> - the vertical diameter of the arc at the four corners.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#drawRoundRect(int, int, int, int, int, int)"><CODE>Graphics.drawRoundRect(int, int, int, int, int, int)</CODE></A></DL></DD></DL><HR><A NAME="drawLine(int, int, int, int)"><!-- --></A><H3>drawLine</H3><PRE>public void <B>drawLine</B>(int x1, int y1, int x2, int y2)</PRE><DL><DD>Overrides <code>Graphics.drawLine</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#drawLine(int, int, int, int)">drawLine</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x1</CODE> - the first point's <i>x</i> coordinate.<DD><CODE>y1</CODE> - the first point's <i>y</i> coordinate.<DD><CODE>x2</CODE> - the second point's <i>x</i> coordinate.<DD><CODE>y2</CODE> - the second point's <i>y</i> coordinate.</DL></DD></DL><HR><A NAME="draw3DRect(int, int, int, int, boolean)"><!-- --></A><H3>draw3DRect</H3><PRE>public void <B>draw3DRect</B>(int x, int y, int width, int height, boolean raised)</PRE><DL><DD>Overrides <code>Graphics.draw3DRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#draw3DRect(int, int, int, int, boolean)">draw3DRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to be drawn.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to be drawn.<DD><CODE>width</CODE> - the width of the rectangle to be drawn.<DD><CODE>height</CODE> - the height of the rectangle to be drawn.<DD><CODE>raised</CODE> - a boolean that determines whether the rectangle appears to be raised above the surface or sunk into the surface.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#fill3DRect(int, int, int, int, boolean)"><CODE>Graphics.fill3DRect(int, int, int, int, boolean)</CODE></A></DL></DD></DL><HR><A NAME="fill3DRect(int, int, int, int, boolean)"><!-- --></A><H3>fill3DRect</H3><PRE>public void <B>fill3DRect</B>(int x, int y, int width, int height, boolean raised)</PRE><DL><DD>Overrides <code>Graphics.fill3DRect</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Graphics.html#fill3DRect(int, int, int, int, boolean)">fill3DRect</A></CODE> in class <CODE><A HREF="../../java/awt/Graphics.html">Graphics</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.awt.Graphics</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the <i>x</i> coordinate of the rectangle to be filled.<DD><CODE>y</CODE> - the <i>y</i> coordinate of the rectangle to be filled.<DD><CODE>width</CODE> - the width of the rectangle to be filled.<DD><CODE>height</CODE> - the height of the rectangle to be filled.<DD><CODE>raised</CODE> - a boolean value that determines whether the rectangle appears to be raised above the surface or etched into the surface.<DT><B>See Also: </B><DD><A HREF="../../java/awt/Graphics.html#draw3DRect(int, int, int, int, boolean)"><CODE>Graphics.draw3DRect(int, int, int, int, boolean)</CODE></A></DL></DD></DL><HR><A NAME="drawOval(int, int, int, int)"><!-- --></A><H3>drawOval</H3><PRE>public void <B>drawOval</B>(int x, int y, int width, int height)</PRE><DL><DD>Overrides <code>Graphics.drawOval</code>.<DD><DL><DT><B>Overrides:</B><DD
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -