-
Enhancement
-
Resolution: Unresolved
-
P5
-
None
-
7
-
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.
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.