Java 2D API Specification
The following list contains all of the packages and classes included in the Java 2D API. Each item in the list is linked to its respective API documentation.
Provides classes for color spaces and color profiles based on the ICC Profile Format Specification.
Provides classes and interfaces relating to fonts and support for representing Type 1, Type 1 Multiple Master, OpenType, and TrueType fonts.
Provides classes for defining and performing operations on two-dimensional geometric objects.
Provides classes and interfaces for printing two-dimensional objects and includes support for specifying document types, controlling page setup and page formats, and managing job control dialogs.
- com.sun.image.codec.jpeg
Provides classes for encoding and decoding JPEG images.
Provides classes and interfaces for producing rendering-independent images.
The java.awt and java.awt.image packages also include classes that are part of the Java 2D API:- Contains classes for generating user interfaces and painting graphics and images. The following awt classes are part of the Java 2D API.
- java.awt.AlphaComposite
- java.awt.BasicStroke
- java.awt.Color
- java.awt.Composite
- java.awt.CompositeContext
- java.awt.Font
- java.awt.GradientPaint
- java.awt.Graphics2D
- java.awt.GraphicsConfiguration
- java.awt.GraphicsDevice
- java.awt.GraphicsEnvironment
- java.awt.Paint
- java.awt.PaintContext
- java.awt.Rectangle
- java.awt.Shape
- java.awt.Stroke
- java.awt.TexturePaint
- java.awt.Toolkit
- java.awt.Transparency
- Provides classes for creating and modifying images, as well as image producers, consumers and filters for configuring image processing. The following image classes are part of the Java 2D API.
- java.awt.image.AffineTransformOp
- java.awt.image.BandCombineOp
- java.awt.image.BandedSampleModel
- java.awt.image.BufferedImage
- java.awt.image.BufferedImageFilter
- java.awt.image.BufferedImageOp
- java.awt.image.ByteLookupTable
- java.awt.image.ColorConvertOp
- java.awt.image.ColorModel
- java.awt.image.ComponentColorModel
- java.awt.image.ComponentSampleModel
- java.awt.image.ConvolveOp
- java.awt.image.DataBuffer
- java.awt.image.DataBufferByte
- java.awt.image.DataBufferInt
- java.awt.image.DataBufferShort
- java.awt.image.DirectColorModel
- java.awt.image.IndexColorModel
- java.awt.image.Kernel
- java.awt.image.LookupOp
- java.awt.image.LookupTable
- java.awt.image.MultiPixelPackedSampleModel
- java.awt.image.PackedColorModel
- java.awt.image.Raster
- java.awt.image.RasterformatException
- java.awt.image.RasterOp
- java.awt.image.RenderedImage
- java.awt.image.RescaleOp
- java.awt.image.SampleModel
- java.awt.image.ShortLookupTable
- java.awt.image.SinglePixelPackedSampleModel
- java.awt.image.VolatileImage
- java.awt.image.WritableRaster