Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : javax.swing
Version documentée : Java SE 17

Classe « DebugGraphics »

Informations générales

Héritage

java.lang.Object
    java.awt.Graphics
        javax.swing.DebugGraphics

Définition

public class DebugGraphics extends java.awt.Graphics

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
public static int BUFFERED_OPTION
public static int FLASH_OPTION
public static int LOG_OPTION
public static int NONE_OPTION

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
DebugGraphics()
DebugGraphics( Graphics graphics )
DebugGraphics( Graphics graphics, JComponent component )

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
public Shape clip R/W
public Rectangle clipBounds R/-
public Color color R/W
public int debugOptions R/W
public boolean drawingBuffer R/-
public static Color flashColor -/W
public static int flashCount -/W
public static int flashTime -/W
public Font font R/W
public FontMetrics fontMetrics R/-
public static PrintStream logStream -/W
public Color xORMode -/W

Propriétés héritées de la classe java.awt.Graphics

clip, clipBounds, clipRect, color, font, fontMetrics, xORMode

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public void clearRect( int x, int y, int width, int height )
public void clipRect( int x, int y, int width, int height )
public void copyArea( int x, int y, int width, int height, int destX, int destY )
public Graphics create( int x, int y, int width, int height )
public Graphics create()
public void dispose()
public void draw3DRect( int x, int y, int width, int height, boolean raised )
public void drawArc( int x, int y, int width, int height, int startAngle, int arcAngle )
public void drawBytes( byte[] data, int offset, int length, int x, int y )
public void drawChars( char[] data, int offset, int length, int x, int y )
public boolean drawImage( Image img, int x, int y, Color bgcolor, ImageObserver observer )
public boolean drawImage( Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer )
public boolean drawImage( Image img, int x, int y, int width, int height, ImageObserver observer )
public boolean drawImage( Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer )
public boolean drawImage( Image img, int x, int y, ImageObserver observer )
public boolean drawImage( Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer )
public void drawLine( int x1, int y1, int x2, int y2 )
public void drawOval( int x, int y, int width, int height )
public void drawPolygon( int[] xPoints, int[] yPoints, int nPoints )
public void drawPolyline( int[] xPoints, int[] yPoints, int nPoints )
public void drawRect( int x, int y, int width, int height )
public void drawRoundRect( int x, int y, int width, int height, int arcWidth, int arcHeight )
public void drawString( String aString, int x, int y )
public void drawString( AttributedCharacterIterator iterator, int x, int y )
public void fill3DRect( int x, int y, int width, int height, boolean raised )
public void fillArc( int x, int y, int width, int height, int startAngle, int arcAngle )
public void fillOval( int x, int y, int width, int height )
public void fillPolygon( int[] xPoints, int[] yPoints, int nPoints )
public void fillRect( int x, int y, int width, int height )
public void fillRoundRect( int x, int y, int width, int height, int arcWidth, int arcHeight )
public static Color flashColor()
public static int flashCount()
public static int flashTime()
public Shape getClip()
public Rectangle getClipBounds()
public Color getColor()
public int getDebugOptions()
public Font getFont()
public FontMetrics getFontMetrics( Font f )
public FontMetrics getFontMetrics()
public boolean isDrawingBuffer()
public static PrintStream logStream()
public void setClip( Shape clip )
public void setClip( int x, int y, int width, int height )
public void setColor( Color aColor )
public void setDebugOptions( int options )
public static void setFlashColor( Color flashColor )
public static void setFlashCount( int flashCount )
public static void setFlashTime( int flashTime )
public void setFont( Font aFont )
public static void setLogStream( PrintStream stream )
public void setPaintMode()
public void setXORMode( Color aColor )
public void translate( int x, int y )

Méthodes héritées de la classe java.awt.Graphics

clearRect, clipRect, copyArea, create, create, dispose, draw3DRect, drawArc, drawBytes, drawChars, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRoundRect, drawString, drawString, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getFont, getFontMetrics, getFontMetrics, hitClip, setClip, setClip, setColor, setFont, setPaintMode, setXORMode, toString, translate

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait