javaquery/canvas/src/main/java/net/java/html/canvas/GraphicsContext.java
branchcanvas
changeset 1447 3e3fb431d2b7
parent 1444 8cb57e6c7012
child 1449 6be5961e27ee
     1.1 --- a/javaquery/canvas/src/main/java/net/java/html/canvas/GraphicsContext.java	Wed Feb 12 08:33:31 2014 +0100
     1.2 +++ b/javaquery/canvas/src/main/java/net/java/html/canvas/GraphicsContext.java	Wed Feb 12 09:14:20 2014 +0100
     1.3 @@ -57,8 +57,9 @@
     1.4       *
     1.5       * @param centerX the center x position of the arc.
     1.6       * @param centerY the center y position of the arc.
     1.7 +     * @param startAngle the startAngle of the arc
     1.8       * @param radius the radius of the arc.
     1.9 -     * @param endAngle teh endAngle of the arc
    1.10 +     * @param endAngle the endAngle of the arc
    1.11       * @param ccw the direction of the arc (counterclockwise)
    1.12       */
    1.13      public void arc(double centerX,
    1.14 @@ -185,8 +186,8 @@
    1.15       *
    1.16       * @param x the X position of the upper left corner of the rectangle.
    1.17       * @param y the Y position of the upper left corner of the rectangle.
    1.18 -     * @param w the width of the rectangle.
    1.19 -     * @param h the height of the rectangle.
    1.20 +     * @param width the width of the rectangle.
    1.21 +     * @param height  the height of the rectangle.
    1.22       */
    1.23      public void fillRect(double x, double y, double width, double height) {
    1.24          graphicsEnvironmentImpl.fillRect(x, y, width, height);
    1.25 @@ -342,7 +343,7 @@
    1.26       * Draws an image at the given x, y position using the width and height of
    1.27       * the given image.
    1.28       *
    1.29 -     * @param img the image to be drawn.
    1.30 +     * @param image  the image to be drawn.
    1.31       * @param x the X coordinate on the destination for the upper left of the
    1.32       * image.
    1.33       * @param y the Y coordinate on the destination for the upper left of the
    1.34 @@ -357,7 +358,7 @@
    1.35       * Draws an image into the given destination rectangle of the canvas. The
    1.36       * Image is scaled to fit into the destination rectagnle.
    1.37       *
    1.38 -     * @param img the image to be drawn.
    1.39 +     * @param image  the image to be drawn.
    1.40       * @param x the X coordinate on the destination for the upper left of the
    1.41       * image.
    1.42       * @param y the Y coordinate on the destination for the upper left of the
    1.43 @@ -374,7 +375,7 @@
    1.44       * Draws the current source rectangle of the given image to the given
    1.45       * destination rectangle of the Canvas.
    1.46       *
    1.47 -     * @param img the image to be drawn.
    1.48 +     * @param image  the image to be drawn.
    1.49       * @param sx the source rectangle's X coordinate position.
    1.50       * @param sy the source rectangle's Y coordinate position.
    1.51       * @param sw the source rectangle's width.