Abstract
Basic geometric 2D-objects like points, lines, rectangles, polygons, circles and ellipses are introduced and geometric transformations for positioning, transforming and animating these geometric objects are explained. The concept of homogeneous coordinates, crucial for carrying out geometric transformations efficiently in computer graphics, is defined for two-dimensional geometry. Interpolators are a general technique for animation in computer graphics and various examples for interpolators are illustrated in this Chapter. A brief introduction to Java 2D is given and example programs and implementations help one to better understand the concepts and methods from a practical point of view.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Cathode Ray Tube.
- 2.
Abstract Windowing Toolkit.
- 3.
Arc2D is the only exception where angles are specified in the unit degrees. Otherwise angles in Java 2D and Java 3D must be specified in radians.
- 4.
The figure is drawn in the usual representation and not in the standard Java 2D window coordinate representation where the y-axis would point downwards.
- 5.
Vectors in the mathematical sense, not as the class Vector in Java.
References
Hardy, V.J.: Java 2D API Graphics. Prentice Hall, Upper Saddle River, NJ (2000)
Knudsen, J.: Java 2D Graphics. O’Reilly, Beijing (1999)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag London Limited
About this chapter
Cite this chapter
Klawonn, F. (2012). Basic Principles of Two-Dimensional Graphics. In: Introduction to Computer Graphics. Undergraduate Topics in Computer Science. Springer, London. https://doi.org/10.1007/978-1-4471-2733-8_2
Download citation
DOI: https://doi.org/10.1007/978-1-4471-2733-8_2
Publisher Name: Springer, London
Print ISBN: 978-1-4471-2732-1
Online ISBN: 978-1-4471-2733-8
eBook Packages: Computer ScienceComputer Science (R0)