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

javafx.scene.paint.Color: Create sample preview color in JavaDoc

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx

      It would be helpful, if a developer who uses javafx.scene.paint.Color could see the actual color in the JavaDoc instead of just "The color alice blue with an RGB value of #F0F8FF."

      This is just a convenience feature, to avoid looking up the hex code somewhere else.

      I suggest putting something like this in the JavaDoc:
      <div style="width:50px;height:50px;background-color:#F0F8FF"/>

      in order to show a small rectangle with the according to color.

      Or you could just style the background-color of the text accordingly.

            psafrata Pavel Ĺ afrata
            cschudtjfx Christian Schudt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: