1.1 --- a/javaquery/canvas/src/main/java/net/java/html/canvas/Dimension.java Thu Sep 26 14:26:58 2013 -0700
1.2 +++ b/javaquery/canvas/src/main/java/net/java/html/canvas/Dimension.java Wed Feb 12 08:43:07 2014 +0100
1.3 @@ -23,7 +23,8 @@
1.4
1.5 /**
1.6 * Just a simple class to replace the need of java.awt.Dimension, since we only
1.7 - * want to use Java core APIs to keep porting simple.
1.8 + * want to use Java core APIs to keep porting simple. You shouldn't need to
1.9 + * ever create one, unless you write an implementation of your own Graphicsenvironment.
1.10 *
1.11 * @author antonepple
1.12 */
1.13 @@ -31,6 +32,11 @@
1.14
1.15 final double width, height;
1.16
1.17 + /**
1.18 + * Constructor
1.19 + * @param width
1.20 + * @param height
1.21 + */
1.22 public Dimension(double width, double height) {
1.23 this.width = width;
1.24 this.height = height;