Uses of Class java.awt.Graphics2D

Uses in package java.awt

Methods with return type java.awt.Graphics2D

Graphics2D
Return a Graphics2D object which will render into the specified image.

Uses in package java.awt.font

Methods with parameter type java.awt.Graphics2D

void
GraphicAttribute.draw(Graphics2D graphics, float x, float y)
Draws the graphic.
void
ImageGraphicAttribute.draw(Graphics2D g, float x, float y)
Draws the image at the specified location, relative to the origin.
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)

Uses in package java.awt.image

Methods with return type java.awt.Graphics2D

Graphics2D
Graphics2D
Returns a Graphics2D object that can be used to draw onto this image.