Java 2D
Java 2D is a class library and programming interface for implementing portable two-dimensional graphics in Java . It can be used to render images and texts. There are many basic elements available, such as color palettes or basic geometric shapes. Java 2D is an extension of the Abstract Window Toolkit of the Java Foundation Classes and therefore part of the Java Platform, Standard Edition .
Components
The Java-2D API is divided into the following areas:
- Geometric shapes such as lines , ellipses and squares in the package
java.awt.geom
- Representation and information about fonts in the package
java.awt.font
- Representation and change of colors in different representations in the package
java.awt.color
- Representation and change of images in the package
java.awt.image
- Support for print functions in Java in the package
java.awt.print
The implementation of the drawing operations themselves is usually based on platform-dependent hardware acceleration - for example using Direct Graphics Access or DirectX - using code of the Java Runtime Environment that cannot be accessed from the outside .
See also
- Java Foundation Classes - API of which Java 2D is a component
- Java 3D - Java API for 3D objects
Web links
- Java 2D Graphics and Imaging - Starting point for Java 2D information at Sun.
- Java 2D API - the Java 2D API at Sun.
- Java 2D Tutorial - Java 2D tutorial from Sun.
- http://www.fh-wedel.de/~si/seminare/ws00/Ausbildung/11.java2d/java2d0.htm
- http://www.iks.hs-merseburg.de/~uschroet/Literatur/Java_Lit/JAVA_Insel/javainsel_17_001.htm#mja912a62967600bfe24778d7390466826