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

awt.Color.HSBtoRGB description in spec is incomplete

XMLWordPrintable

    • 1.1.4
    • sparc
    • solaris_2.5.1
    • Not verified


      According to the spec,HSBtoRGB() "converts a color..." but what the relationship between
      the two formats is not given, so from a testing perspective, it's impossible to project the
      outcome.

      Two things are necessary to test this method:

      Some information describing exactly what hue, saturation, and brightness are needs to be present.

      Also, the relationship of how h, s, and b values are mapped to red, green, and blue values
      needs to be documented.
       

            asommere Alan Sommerer (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: