src/share/classes/java/awt/Graphics2D.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -42,11 +42,11 @@
* This <code>Graphics2D</code> class extends the
* {@link Graphics} class to provide more sophisticated
* control over geometry, coordinate transformations, color management,
* and text layout. This is the fundamental class for rendering
* 2-dimensional shapes, text and images on the Java(tm) platform.
- * <p>
+ *
* <h2>Coordinate Spaces</h2>
* All coordinates passed to a <code>Graphics2D</code> object are specified
* in a device-independent coordinate system called User Space, which is
* used by applications. The <code>Graphics2D</code> object contains
* an {@link AffineTransform} object as part of its rendering state
@@ -227,11 +227,11 @@
* </ol>
* </ol>
*
* <h2>Default Rendering Attributes</h2>
* The default values for the <code>Graphics2D</code> rendering attributes are:
- * <dl compact>
+ * <dl>
* <dt><i><code>Paint</code></i>
* <dd>The color of the <code>Component</code>.
* <dt><i><code>Font</code></i>
* <dd>The <code>Font</code> of the <code>Component</code>.
* <dt><i><code>Stroke</code></i>
@@ -349,11 +349,11 @@
* rectangle:
* <pre>
* fill(new Rectangle(x, y, w, h));
* </pre>
* is called.
- * <p>
+ *
* <li>
* Similarly, for draw operations, including <code>drawLine</code>,
* <code>drawRect</code>, <code>drawRoundRect</code>,
* <code>drawOval</code>, <code>drawArc</code>, <code>drawPolyline</code>,
* and <code>drawPolygon</code>, {@link #draw(Shape) draw} can now be
@@ -361,11 +361,11 @@
* rectangle:
* <pre>
* draw(new Rectangle(x, y, w, h));
* </pre>
* is called.
- * <p>
+ *
* <li>
* The <code>draw3DRect</code> and <code>fill3DRect</code> methods were
* implemented in terms of the <code>drawLine</code> and
* <code>fillRect</code> methods in the <code>Graphics</code> class which
* would predicate their behavior upon the current <code>Stroke</code>