| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 Graphics2Dobject for rendering into the
 specifiedBufferedImage. | 
| Uses of Graphics2D in java.awt.font | 
|---|
| Methods in java.awt.font with parameters of type Graphics2D | |
|---|---|
|  void | ShapeGraphicAttribute.draw(Graphics2D graphics,
     float x,
     float y)Draws the graphic at the given location. | 
|  void | TextLayout.draw(Graphics2D g2,
     float x,
     float y)Renders this TextLayoutat the specified location in 
 the specifiedGraphics2Dcontext. | 
|  void | ImageGraphicAttribute.draw(Graphics2D graphics,
     float x,
     float y)Renders the graphic at the specified location. | 
| abstract  void | GraphicAttribute.draw(Graphics2D graphics,
     float x,
     float y)Renders this GraphicAttributeat the specified 
 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
 thisBufferedImage. | 
| abstract  Graphics2D | VolatileImage.createGraphics()Creates a Graphics2D, which can be used to draw into
 thisVolatileImage. | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.