| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.plaf.nimbus |
Provides user interface objects built according to the cross-platform Nimbus look and feel.
|
| Modifier and Type | Method and Description |
|---|---|
Graphics2D |
SplashScreen.createGraphics()
Creates a graphics context (as a
Graphics2D object) for the splash screen overlay image, which allows you to draw over the splash screen.
|
abstract Graphics2D |
GraphicsEnvironment.createGraphics(BufferedImage
Returns a
Graphics2D object for rendering into the specified
BufferedImage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ShapeGraphicAttribute.draw(Graphics2D
Renders this
GraphicAttribute at the specified location.
|
void |
ImageGraphicAttribute.draw(Graphics2D
Renders this
GraphicAttribute at the specified location.
|
abstract void |
GraphicAttribute.draw(Graphics2D
Renders this
GraphicAttribute at the specified location.
|
void |
TextLayout.draw(Graphics2D
Renders this
TextLayout at the specified location in the specified
Graphics2D context.
|
| Modifier and Type | Method and Description |
|---|---|
Graphics2D |
BufferedImage.createGraphics()
Creates a
Graphics2D, which can be used to draw into this
BufferedImage.
|
abstract Graphics2D |
VolatileImage.createGraphics()
Creates a
Graphics2D, which can be used to draw into this
VolatileImage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Painter.paint(Graphics2D
Renders to the given
Graphics2D object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractRegionPainter.configureGraphics(Graphics2D
Configures the given Graphics2D.
|
protected abstract void |
AbstractRegionPainter.doPaint(Graphics2D
Actually performs the painting operation.
|
void |
AbstractRegionPainter.paint(Graphics2D
Renders to the given
Graphics2D object.
|