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

documentation inadequacy, for MemoryImageSource, and others

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.1.4
    • docs
    • beta
    • sparc
    • solaris_2.5.1



      Name: rm29839 Date: 10/29/97


      the documentation of the
      java.awt.image.MemoryImageSource class, does
      not fully explain what its input is.
      It does not explicitly state what the expected
      format of each int in the array is supposed to
      be. The code implies it, but an exact
      specification should be given.

      Furthermore, more description should be given
      in general to what the heck an "alpha" value is.
      "red", "green", "blue" is fairly obvious.
      "alpha" is not.

      Judging by the sample code, if you want normal
      behaviour, its important to set the "alpha"
      value to 0xff. But thats all I know about it.
      There should be more detail on it, both in
      the above-mentioned class, and other places.
      For example, the docs for
       java.awt.image.ImageConsumer
      (Review ID: 14556)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: