Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.awt.Graphics2D

Packages that use Graphics2D
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.

Uses of Graphics2D in java.awt

Methods in java.awt that return Graphics2D
`abstract Graphics2D` | `GraphicsEnvironment.createGraphics(BufferedImage img)` Returns a `Graphics2D` object for rendering into the specified `BufferedImage`.

Uses of Graphics2D in java.awt.font

Methods in java.awt.font with parameters of type Graphics2D
`void` | `TextLayout.draw(Graphics2D g2, float x, float y)` Renders this `TextLayout` at the specified location in the specified `Graphics2D` context.
`abstract void` | `GraphicAttribute.draw(Graphics2D graphics, float x, float y)` Renders this `GraphicAttribute` at the specified location.
`void` | `ImageGraphicAttribute.draw(Graphics2D graphics, float x, float y)` Renders the graphic at the specified location.
`void` | `ShapeGraphicAttribute.draw(Graphics2D graphics, float x, float y)` Draws the graphic at the given location.

Uses of Graphics2D in java.awt.image

Methods in java.awt.image that return Graphics2D
`Graphics2D` | `BufferedImage.createGraphics()` Creates a `Graphics2D`, which can be used to draw into this `BufferedImage`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.