Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4381482

Documentation of Point Class, translate method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • docs
    • beta
    • sparc
    • solaris_7



      Name: skT45625 Date: 10/20/2000


      java version "1.2.2"
      Solaris VM (build Solaris_JDK_1.2.2_05, native threads, sunwjit)


      translate
       
       public void translate(int x,
                             int y)
      ^^^^^^ These should be dx & dy *********

            Translates this point, at location (x, y), by dx along the x axis
       and dy along the y axis so that it now represents the point (x + dx, y +
       dy).
            Parameters:
                dx - the distance to move this point along the x axis.
                dy - the distance to move this point along the y axis.
       
       the parameters in the list are x & y not dx & dy,
       
       Thought you might want to fix that,
       
       Ruel

      ###@###.### 2000-10-20
      http://java.sun.com/j2se/1.3/docs/api/java/awt/Point.html#translate(int, int)
      (Review ID: 110960)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: