# Package org.apache.xmlgraphics.java2d

Provides convenience base and utility classes for subclassing the `java.awt.Graphics2D` class in order to translate Java 2D primitives into another graphic format.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  GeneralGraphics2DImagePainter |
  Graphics2DImagePainter | This interface is used to paint vector graphic images.
  TextHandler | Interface which the Graphics2D class delegates text painting to.

- Class Summary
  Class | Description
  --- | ---
  AbstractGraphics2D | This extension of the `java.awt.Graphics2D` abstract class is still abstract, but it implements a lot of the `Graphics2D` method in a way that concrete implementations can reuse.
  AbstractGraphicsConfiguration | Adapter to allow subclassing java.awt.GraphicsConfiguration without compilation errors.
  CMYKColorSpace | Deprecated This class has been moved to the "color" subpackage.
  DefaultGraphics2D | This concrete implementation of `AbstractGraphics2D` is a simple help to programmers to get started with their own implementation of `Graphics2D`.
  Dimension2DDouble | Subclass of Dimension2D which takes double values.
  GenericGraphicsDevice | This implements the `GraphicsDevice` interface as appropriate for the various output configurations.
  GraphicContext | Handles the attributes in a graphic context: + Composite + Font + Paint + Stroke + Clip + RenderingHints + AffineTransform
  GraphicsConfigurationWithoutTransparency | An implementation of `GraphicsConfiguration` that does not support transparencies (alpha channels).
  GraphicsConfigurationWithTransparency | An implementation of `GraphicsConfiguration` that supports transparencies (alpha channels).
  StrokingTextHandler | Default TextHandler implementation which paints text using graphics primitives (shapes).
  TransformStackElement | Contains a description of an elementary transform stack element, such as a rotate or translate.
  TransformType | Enumeration for transformation types.

## Package org.apache.xmlgraphics.java2d Description

Provides convenience base and utility classes for subclassing the `java.awt.Graphics2D` class in order to translate Java 2D primitives into another graphic format.

Copyright 1999-2025 The Apache Software Foundation. All Rights Reserved.