Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
java.awt.Graphics2D

Packages that use Graphics2D
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.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.
 void ShapeGraphicAttribute.draw(Graphics2D graphics, float x, float y)
          Draws the graphic at the given location.
 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 GraphicAttribute at 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 this BufferedImage.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.