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

Support for vertex colors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 7
    • client-libs
    • 2d
    • x86
    • windows_vista

      A DESCRIPTION OF THE REQUEST :
      There is no way to specify that a shape be drawn with vertex colors blended between them. Perhaps the best way to support this feature would be with an a new Paint implementation similar to GradientPaint that accepted more points, or was better tied to a Shape or PathIterator instance.

      JUSTIFICATION :
      Vertex color gradients are a standard feature in 3d apis such as OpenGL. When creating 2d applications it is difficult to preserve visual consistency.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Multiple colors interpolated between multiple points when applied as a fill or stroke when painting.
      ACTUAL -
      Currently impossible to achieve.

            Unassigned Unassigned
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: